teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
MessageMediaPhoto
Class MessageMediaPhoto
Hierarchy (
View Summary
)
VirtualClass
<
{
livePhoto
?:
boolean
;
photo
?:
Api
.
TypePhoto
;
spoiler
?:
boolean
;
ttlSeconds
?:
int
;
video
?:
TypeDocument
;
}
,
>
MessageMediaPhoto
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
live
Photo?
original
Args
photo?
spoiler?
SUBCLASS_
OF_
ID
ttl
Seconds?
video?
Constructors
constructor
new
MessageMediaPhoto
(
args
:
{
livePhoto
?:
boolean
;
photo
?:
Api
.
TypePhoto
;
spoiler
?:
boolean
;
ttlSeconds
?:
number
;
video
?:
TypeDocument
;
}
,
)
:
MessageMediaPhoto
Parameters
args
:
{
livePhoto
?:
boolean
;
photo
?:
Api
.
TypePhoto
;
spoiler
?:
boolean
;
ttlSeconds
?:
number
;
video
?:
TypeDocument
;
}
Returns
MessageMediaPhoto
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
MessageMediaPhoto
Parameters
reader
:
any
Returns
MessageMediaPhoto
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
()
:
{
livePhoto
?:
boolean
;
photo
?:
Api
.
TypePhoto
;
spoiler
?:
boolean
;
ttlSeconds
?:
number
;
video
?:
TypeDocument
;
}
Returns
{
livePhoto
?:
boolean
;
photo
?:
Api
.
TypePhoto
;
spoiler
?:
boolean
;
ttlSeconds
?:
number
;
video
?:
TypeDocument
;
}
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
:
"MessageMediaPhoto"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3793152867
Optional
live
Photo
livePhoto
?:
boolean
original
Args
originalArgs
:
{
livePhoto
?:
boolean
;
photo
?:
Api
.
TypePhoto
;
spoiler
?:
boolean
;
ttlSeconds
?:
number
;
video
?:
TypeDocument
;
}
Optional
photo
photo
?:
Api
.
TypePhoto
Optional
spoiler
spoiler
?:
boolean
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1198308914
Optional
ttl
Seconds
ttlSeconds
?:
number
Optional
video
video
?:
TypeDocument
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
live
Photo
original
Args
photo
spoiler
SUBCLASS_
OF_
ID
ttl
Seconds
video
GitHub
npm
Issues
teleproto - v1.229.0
Loading...