Skip to main content

Class: TemplateButtonReplyMessage

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

Implements

Constructors

new TemplateButtonReplyMessage()

new TemplateButtonReplyMessage(p?): TemplateButtonReplyMessage

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

Parameters

p?

ITemplateButtonReplyMessage

Returns

TemplateButtonReplyMessage

Properties

contextInfo?

optional contextInfo: null | IContextInfo

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

Implementation of

ITemplateButtonReplyMessage.contextInfo


selectedCarouselCardIndex?

optional selectedCarouselCardIndex: null | number

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

Implementation of

ITemplateButtonReplyMessage.selectedCarouselCardIndex


selectedDisplayText?

optional selectedDisplayText: null | string

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

Implementation of

ITemplateButtonReplyMessage.selectedDisplayText


selectedId?

optional selectedId: null | string

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

Implementation of

ITemplateButtonReplyMessage.selectedId


selectedIndex?

optional selectedIndex: null | number

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

Implementation of

ITemplateButtonReplyMessage.selectedIndex

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): TemplateButtonReplyMessage

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

Parameters

properties?

ITemplateButtonReplyMessage

Returns

TemplateButtonReplyMessage


decode()

static decode(r, l?): TemplateButtonReplyMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

TemplateButtonReplyMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

ITemplateButtonReplyMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): TemplateButtonReplyMessage

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

Parameters

d

Returns

TemplateButtonReplyMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

TemplateButtonReplyMessage

o?

IConversionOptions

Returns

object