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

Implements

Constructors

new FourRowTemplate()

new FourRowTemplate(p?): FourRowTemplate
Defined in: WAProto/index.d.ts:9223

Parameters

p?
IFourRowTemplate

Returns

FourRowTemplate

Properties

buttons

buttons: ITemplateButton[]
Defined in: WAProto/index.d.ts:9226

Implementation of

IFourRowTemplate.buttons

content?

optional content: null | IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:9224

Implementation of

IFourRowTemplate.content

documentMessage?

optional documentMessage: null | IDocumentMessage
Defined in: WAProto/index.d.ts:9227

Implementation of

IFourRowTemplate.documentMessage
optional footer: null | IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:9225

Implementation of

IFourRowTemplate.footer

highlyStructuredMessage?

optional highlyStructuredMessage: null | IHighlyStructuredMessage
Defined in: WAProto/index.d.ts:9228

Implementation of

IFourRowTemplate.highlyStructuredMessage

imageMessage?

optional imageMessage: null | IImageMessage
Defined in: WAProto/index.d.ts:9229

Implementation of

IFourRowTemplate.imageMessage

locationMessage?

optional locationMessage: null | ILocationMessage
Defined in: WAProto/index.d.ts:9231

Implementation of

IFourRowTemplate.locationMessage

title?

optional title: "imageMessage" | "locationMessage" | "documentMessage" | "videoMessage" | "highlyStructuredMessage"
Defined in: WAProto/index.d.ts:9232

videoMessage?

optional videoMessage: null | IVideoMessage
Defined in: WAProto/index.d.ts:9230

Implementation of

IFourRowTemplate.videoMessage

Methods

create()

static create(properties?): FourRowTemplate
Defined in: WAProto/index.d.ts:9233

Parameters

properties?
IFourRowTemplate

Returns

FourRowTemplate

decode()

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

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

FourRowTemplate

encode()

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

Parameters

m
IFourRowTemplate
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): FourRowTemplate
Defined in: WAProto/index.d.ts:9236

Parameters

d

Returns

FourRowTemplate

getTypeUrl()

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

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

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

Returns

object

toObject()

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

Parameters

m
FourRowTemplate
o?
IConversionOptions

Returns

object