teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PollAnswer
Class PollAnswer
Hierarchy (
View Summary
)
VirtualClass
<
{
addedBy
?:
TypePeer
;
date
?:
int
;
media
?:
TypeMessageMedia
;
option
:
bytes
;
text
:
TypeTextWithEntities
;
}
,
>
PollAnswer
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
added
By?
class
Name
class
Type
CONSTRUCTOR_
ID
date?
media?
option
original
Args
SUBCLASS_
OF_
ID
text
Constructors
constructor
new
PollAnswer
(
args
:
{
addedBy
?:
TypePeer
;
date
?:
number
;
media
?:
TypeMessageMedia
;
option
:
bytes
;
text
:
TextWithEntities
;
}
,
)
:
PollAnswer
Parameters
args
:
{
addedBy
?:
TypePeer
;
date
?:
number
;
media
?:
TypeMessageMedia
;
option
:
bytes
;
text
:
TextWithEntities
;
}
Returns
PollAnswer
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PollAnswer
Parameters
reader
:
any
Returns
PollAnswer
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
()
:
{
addedBy
?:
TypePeer
;
date
?:
number
;
media
?:
TypeMessageMedia
;
option
:
bytes
;
text
:
TextWithEntities
;
}
Returns
{
addedBy
?:
TypePeer
;
date
?:
number
;
media
?:
TypeMessageMedia
;
option
:
bytes
;
text
:
TextWithEntities
;
}
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
Optional
added
By
addedBy
?:
TypePeer
class
Name
className
:
"PollAnswer"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
1266514026
Optional
date
date
?:
number
Optional
media
media
?:
TypeMessageMedia
option
option
:
bytes
original
Args
originalArgs
:
{
addedBy
?:
TypePeer
;
date
?:
number
;
media
?:
TypeMessageMedia
;
option
:
bytes
;
text
:
TextWithEntities
;
}
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2124799390
text
text
:
TextWithEntities
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
added
By
class
Name
class
Type
CONSTRUCTOR_
ID
date
media
option
original
Args
SUBCLASS_
OF_
ID
text
GitHub
npm
Issues
teleproto - v1.229.0
Loading...