teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
UpdateMessagePoll
Class UpdateMessagePoll
Hierarchy (
View Summary
)
VirtualClass
<
{
msgId
?:
int
;
peer
?:
TypePeer
;
poll
?:
TypePoll
;
pollId
:
long
;
results
:
TypePollResults
;
topMsgId
?:
int
;
}
,
>
UpdateMessagePoll
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
msg
Id?
original
Args
peer?
poll?
poll
Id
results
SUBCLASS_
OF_
ID
top
Msg
Id?
Constructors
constructor
new
UpdateMessagePoll
(
args
:
{
msgId
?:
number
;
peer
?:
TypePeer
;
poll
?:
Poll
;
pollId
:
BigInteger
;
results
:
PollResults
;
topMsgId
?:
number
;
}
,
)
:
UpdateMessagePoll
Parameters
args
:
{
msgId
?:
number
;
peer
?:
TypePeer
;
poll
?:
Poll
;
pollId
:
BigInteger
;
results
:
PollResults
;
topMsgId
?:
number
;
}
Returns
UpdateMessagePoll
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
UpdateMessagePoll
Parameters
reader
:
any
Returns
UpdateMessagePoll
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
()
:
{
msgId
?:
number
;
peer
?:
TypePeer
;
poll
?:
Poll
;
pollId
:
BigInteger
;
results
:
PollResults
;
topMsgId
?:
number
;
}
Returns
{
msgId
?:
number
;
peer
?:
TypePeer
;
poll
?:
Poll
;
pollId
:
BigInteger
;
results
:
PollResults
;
topMsgId
?:
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
class
Name
className
:
"UpdateMessagePoll"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3595325995
Optional
msg
Id
msgId
?:
number
original
Args
originalArgs
:
{
msgId
?:
number
;
peer
?:
TypePeer
;
poll
?:
Poll
;
pollId
:
BigInteger
;
results
:
PollResults
;
topMsgId
?:
number
;
}
Optional
peer
peer
?:
TypePeer
Optional
poll
poll
?:
Poll
poll
Id
pollId
:
BigInteger
results
results
:
PollResults
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2676568142
Optional
top
Msg
Id
topMsgId
?:
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
class
Name
class
Type
CONSTRUCTOR_
ID
msg
Id
original
Args
peer
poll
poll
Id
results
SUBCLASS_
OF_
ID
top
Msg
Id
GitHub
npm
Issues
teleproto - v1.229.0
Loading...