Class: PollCreationMessage
Defined in: WAProto/index.d.ts:8311
Implements
Constructors
new PollCreationMessage()
new PollCreationMessage(
p?):PollCreationMessage
Defined in: WAProto/index.d.ts:8312
Parameters
p?
Returns
Properties
contextInfo?
optionalcontextInfo:null|IContextInfo
Defined in: WAProto/index.d.ts:8317
Implementation of
IPollCreationMessage.contextInfo
correctAnswer?
optionalcorrectAnswer:null|IOption
Defined in: WAProto/index.d.ts:8320
Implementation of
IPollCreationMessage.correctAnswer
encKey?
optionalencKey:null|Uint8Array<ArrayBufferLike>
Defined in: WAProto/index.d.ts:8313
Implementation of
name?
optionalname:null|string
Defined in: WAProto/index.d.ts:8314
Implementation of
options
options:
IOption[]
Defined in: WAProto/index.d.ts:8315
Implementation of
pollContentType?
optionalpollContentType:null|PollContentType
Defined in: WAProto/index.d.ts:8318
Implementation of
IPollCreationMessage.pollContentType
pollType?
optionalpollType:null|PollType
Defined in: WAProto/index.d.ts:8319
Implementation of
selectableOptionsCount?
optionalselectableOptionsCount:null|number
Defined in: WAProto/index.d.ts:8316
Implementation of
IPollCreationMessage.selectableOptionsCount
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:8326
Returns
object
create()
staticcreate(properties?):PollCreationMessage
Defined in: WAProto/index.d.ts:8321
Parameters
properties?
Returns
decode()
staticdecode(r,l?):PollCreationMessage
Defined in: WAProto/index.d.ts:8323
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:8322
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):PollCreationMessage
Defined in: WAProto/index.d.ts:8324
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:8327
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:8325
Parameters
m
o?
IConversionOptions
Returns
object