Skip to main content
Defined in: WAProto/index.d.ts:9791

Implements

Constructors

new PollVoteSnapshot()

new PollVoteSnapshot(p?): PollVoteSnapshot
Defined in: WAProto/index.d.ts:9792

Parameters

p?
IPollVoteSnapshot

Returns

PollVoteSnapshot

Properties

option?

optional option: null | IPollOption
Defined in: WAProto/index.d.ts:9793

Implementation of

IPollVoteSnapshot.option

optionVoteCount?

optional optionVoteCount: null | number
Defined in: WAProto/index.d.ts:9794

Implementation of

IPollVoteSnapshot.optionVoteCount

Methods

create()

static create(properties?): PollVoteSnapshot
Defined in: WAProto/index.d.ts:9795

Parameters

properties?
IPollVoteSnapshot

Returns

PollVoteSnapshot

decode()

static decode(r, l?): PollVoteSnapshot
Defined in: WAProto/index.d.ts:9797

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

PollVoteSnapshot

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:9796

Parameters

m
IPollVoteSnapshot
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): PollVoteSnapshot
Defined in: WAProto/index.d.ts:9798

Parameters

d

Returns

PollVoteSnapshot

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:9801

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:9800

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:9799

Parameters

m
PollVoteSnapshot
o?
IConversionOptions

Returns

object