Implements
Constructors
new PollVoteSnapshot()
new PollVoteSnapshot(Defined in: WAProto/index.d.ts:9792p?):PollVoteSnapshot
Parameters
p?
IPollVoteSnapshot
Returns
PollVoteSnapshot
Properties
option?
Defined in: WAProto/index.d.ts:9793optionaloption:null|IPollOption
Implementation of
IPollVoteSnapshot.option
optionVoteCount?
Defined in: WAProto/index.d.ts:9794optionaloptionVoteCount:null|number
Implementation of
IPollVoteSnapshot.optionVoteCount
Methods
create()
Defined in: WAProto/index.d.ts:9795staticcreate(properties?):PollVoteSnapshot
Parameters
properties?
IPollVoteSnapshot
Returns
PollVoteSnapshot
decode()
Defined in: WAProto/index.d.ts:9797staticdecode(r,l?):PollVoteSnapshot
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
PollVoteSnapshot
encode()
Defined in: WAProto/index.d.ts:9796staticencode(m,w?):Writer
Parameters
m
IPollVoteSnapshot
w?
Writer
Returns
Writer
fromObject()
Defined in: WAProto/index.d.ts:9798staticfromObject(d):PollVoteSnapshot
Parameters
d
Returns
PollVoteSnapshot
getTypeUrl()
Defined in: WAProto/index.d.ts:9801staticgetTypeUrl(typeUrlPrefix?):string
Parameters
typeUrlPrefix?
string
Returns
string
toJSON()
toJSON(): object
Defined in: WAProto/index.d.ts:9800
Returns
object
toObject()
Defined in: WAProto/index.d.ts:9799statictoObject(m,o?):object
Parameters
m
PollVoteSnapshot
o?
IConversionOptions
Returns
object