Skip to main content

Class: InteractiveMessage

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

Implements

Constructors

new InteractiveMessage()

new InteractiveMessage(p?): InteractiveMessage

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

Parameters

p?

IInteractiveMessage

Returns

InteractiveMessage

Properties

body?

optional body: null | IBody

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

Implementation of

IInteractiveMessage.body


carouselMessage?

optional carouselMessage: null | ICarouselMessage

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

Implementation of

IInteractiveMessage.carouselMessage


collectionMessage?

optional collectionMessage: null | ICollectionMessage

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

Implementation of

IInteractiveMessage.collectionMessage


contextInfo?

optional contextInfo: null | IContextInfo

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

Implementation of

IInteractiveMessage.contextInfo


optional footer: null | IFooter

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

Implementation of

IInteractiveMessage.footer


optional header: null | IHeader

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

Implementation of

IInteractiveMessage.header


interactiveMessage?

optional interactiveMessage: "shopStorefrontMessage" | "collectionMessage" | "nativeFlowMessage" | "carouselMessage"

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


nativeFlowMessage?

optional nativeFlowMessage: null | INativeFlowMessage

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

Implementation of

IInteractiveMessage.nativeFlowMessage


shopStorefrontMessage?

optional shopStorefrontMessage: null | IShopMessage

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

Implementation of

IInteractiveMessage.shopStorefrontMessage


urlTrackingMap?

optional urlTrackingMap: null | IUrlTrackingMap

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

Implementation of

IInteractiveMessage.urlTrackingMap

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): InteractiveMessage

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

Parameters

properties?

IInteractiveMessage

Returns

InteractiveMessage


decode()

static decode(r, l?): InteractiveMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

InteractiveMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

IInteractiveMessage

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): InteractiveMessage

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

Parameters

d

Returns

InteractiveMessage


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

InteractiveMessage

o?

IConversionOptions

Returns

object