Skip to main content

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?

IPollCreationMessage

Returns

PollCreationMessage

Properties

contextInfo?

optional contextInfo: null | IContextInfo

Defined in: WAProto/index.d.ts:8317

Implementation of

IPollCreationMessage.contextInfo


correctAnswer?

optional correctAnswer: null | IOption

Defined in: WAProto/index.d.ts:8320

Implementation of

IPollCreationMessage.correctAnswer


encKey?

optional encKey: null | Uint8Array<ArrayBufferLike>

Defined in: WAProto/index.d.ts:8313

Implementation of

IPollCreationMessage.encKey


name?

optional name: null | string

Defined in: WAProto/index.d.ts:8314

Implementation of

IPollCreationMessage.name


options

options: IOption[]

Defined in: WAProto/index.d.ts:8315

Implementation of

IPollCreationMessage.options


pollContentType?

optional pollContentType: null | PollContentType

Defined in: WAProto/index.d.ts:8318

Implementation of

IPollCreationMessage.pollContentType


pollType?

optional pollType: null | PollType

Defined in: WAProto/index.d.ts:8319

Implementation of

IPollCreationMessage.pollType


selectableOptionsCount?

optional selectableOptionsCount: 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()

static create(properties?): PollCreationMessage

Defined in: WAProto/index.d.ts:8321

Parameters

properties?

IPollCreationMessage

Returns

PollCreationMessage


decode()

static decode(r, l?): PollCreationMessage

Defined in: WAProto/index.d.ts:8323

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

PollCreationMessage


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:8322

Parameters

m

IPollCreationMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): PollCreationMessage

Defined in: WAProto/index.d.ts:8324

Parameters

d

Returns

PollCreationMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:8327

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:8325

Parameters

m

PollCreationMessage

o?

IConversionOptions

Returns

object