Class: ButtonsMessage
Defined in: WAProto/index.d.ts:5627
Implements
Constructors
new ButtonsMessage()
new ButtonsMessage(
p?):ButtonsMessage
Defined in: WAProto/index.d.ts:5628
Parameters
p?
Returns
Properties
buttons
buttons:
IButton[]
Defined in: WAProto/index.d.ts:5632
Implementation of
contentText?
optionalcontentText:null|string
Defined in: WAProto/index.d.ts:5629
Implementation of
contextInfo?
optionalcontextInfo:null|IContextInfo
Defined in: WAProto/index.d.ts:5631
Implementation of
documentMessage?
optionaldocumentMessage:null|IDocumentMessage
Defined in: WAProto/index.d.ts:5635
Implementation of
IButtonsMessage.documentMessage
footerText?
optionalfooterText:null|string
Defined in: WAProto/index.d.ts:5630
Implementation of
header?
optionalheader:"text"|"imageMessage"|"locationMessage"|"documentMessage"|"videoMessage"
Defined in: WAProto/index.d.ts:5639
headerType?
optionalheaderType:null|HeaderType
Defined in: WAProto/index.d.ts:5633
Implementation of
imageMessage?
optionalimageMessage:null|IImageMessage
Defined in: WAProto/index.d.ts:5636
Implementation of
locationMessage?
optionallocationMessage:null|ILocationMessage
Defined in: WAProto/index.d.ts:5638
Implementation of
IButtonsMessage.locationMessage
text?
optionaltext:null|string
Defined in: WAProto/index.d.ts:5634
Implementation of
videoMessage?
optionalvideoMessage:null|IVideoMessage
Defined in: WAProto/index.d.ts:5637
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:5645
Returns
object
create()
staticcreate(properties?):ButtonsMessage
Defined in: WAProto/index.d.ts:5640
Parameters
properties?
Returns
decode()
staticdecode(r,l?):ButtonsMessage
Defined in: WAProto/index.d.ts:5642
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:5641
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):ButtonsMessage
Defined in: WAProto/index.d.ts:5643
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:5646
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:5644
Parameters
m
o?
IConversionOptions
Returns
object