teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
ChatPhoto
Class ChatPhoto
Hierarchy (
View Summary
)
VirtualClass
<
{
dcId
:
int
;
hasVideo
?:
boolean
;
photoId
:
long
;
strippedThumb
?:
bytes
}
,
>
ChatPhoto
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
dc
Id
has
Video?
original
Args
photo
Id
stripped
Thumb?
SUBCLASS_
OF_
ID
Constructors
constructor
new
ChatPhoto
(
args
:
{
dcId
:
number
;
hasVideo
?:
boolean
;
photoId
:
BigInteger
;
strippedThumb
?:
bytes
;
}
,
)
:
ChatPhoto
Parameters
args
:
{
dcId
:
number
;
hasVideo
?:
boolean
;
photoId
:
BigInteger
;
strippedThumb
?:
bytes
}
Returns
ChatPhoto
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
ChatPhoto
Parameters
reader
:
any
Returns
ChatPhoto
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
dcId
:
number
;
hasVideo
?:
boolean
;
photoId
:
BigInteger
;
strippedThumb
?:
bytes
;
}
Returns
{
dcId
:
number
;
hasVideo
?:
boolean
;
photoId
:
BigInteger
;
strippedThumb
?:
bytes
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"ChatPhoto"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
476978193
dc
Id
dcId
:
number
Optional
has
Video
hasVideo
?:
boolean
original
Args
originalArgs
:
{
dcId
:
number
;
hasVideo
?:
boolean
;
photoId
:
BigInteger
;
strippedThumb
?:
bytes
;
}
photo
Id
photoId
:
BigInteger
Optional
stripped
Thumb
strippedThumb
?:
bytes
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2889794789
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
dc
Id
has
Video
original
Args
photo
Id
stripped
Thumb
SUBCLASS_
OF_
ID
GitHub
npm
Issues
teleproto - v1.229.0
Loading...