teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
PollAnswerVoters
Class PollAnswerVoters
Hierarchy (
View Summary
)
VirtualClass
<
{
chosen
?:
boolean
;
correct
?:
boolean
;
option
:
bytes
;
recentVoters
?:
TypePeer
[]
;
voters
?:
int
;
}
,
>
PollAnswerVoters
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
chosen?
class
Name
class
Type
CONSTRUCTOR_
ID
correct?
option
original
Args
recent
Voters?
SUBCLASS_
OF_
ID
voters?
Constructors
constructor
new
PollAnswerVoters
(
args
:
{
chosen
?:
boolean
;
correct
?:
boolean
;
option
:
bytes
;
recentVoters
?:
TypePeer
[]
;
voters
?:
number
;
}
,
)
:
PollAnswerVoters
Parameters
args
:
{
chosen
?:
boolean
;
correct
?:
boolean
;
option
:
bytes
;
recentVoters
?:
TypePeer
[]
;
voters
?:
number
;
}
Returns
PollAnswerVoters
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
PollAnswerVoters
Parameters
reader
:
any
Returns
PollAnswerVoters
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
()
:
{
chosen
?:
boolean
;
correct
?:
boolean
;
option
:
bytes
;
recentVoters
?:
TypePeer
[]
;
voters
?:
number
;
}
Returns
{
chosen
?:
boolean
;
correct
?:
boolean
;
option
:
bytes
;
recentVoters
?:
TypePeer
[]
;
voters
?:
number
;
}
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
chosen
chosen
?:
boolean
class
Name
className
:
"PollAnswerVoters"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
910500618
Optional
correct
correct
?:
boolean
option
option
:
bytes
original
Args
originalArgs
:
{
chosen
?:
boolean
;
correct
?:
boolean
;
option
:
bytes
;
recentVoters
?:
TypePeer
[]
;
voters
?:
number
;
}
Optional
recent
Voters
recentVoters
?:
TypePeer
[]
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2095107985
Optional
voters
voters
?:
number
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
chosen
class
Name
class
Type
CONSTRUCTOR_
ID
correct
option
original
Args
recent
Voters
SUBCLASS_
OF_
ID
voters
GitHub
npm
Issues
teleproto - v1.229.0
Loading...