ButtonsMessage
amiudmodz / proto / Message / ButtonsMessage
Class: ButtonsMessage
Defined in: WAProto/index.d.ts:6243
Implements
Constructors
new ButtonsMessage()
new ButtonsMessage(
p?):ButtonsMessage
Defined in: WAProto/index.d.ts:6244
Parameters
p?
Returns
Properties
buttons
buttons:
IButton[]
Defined in: WAProto/index.d.ts:6248
Implementation of
contentText?
optionalcontentText:null|string
Defined in: WAProto/index.d.ts:6245
Implementation of
contextInfo?
optionalcontextInfo:null|IContextInfo
Defined in: WAProto/index.d.ts:6247
Implementation of
documentMessage?
optionaldocumentMessage:null|IDocumentMessage
Defined in: WAProto/index.d.ts:6251
Implementation of
IButtonsMessage.documentMessage
footerText?
optionalfooterText:null|string
Defined in: WAProto/index.d.ts:6246
Implementation of
header?
optionalheader:"text"|"imageMessage"|"locationMessage"|"documentMessage"|"videoMessage"
Defined in: WAProto/index.d.ts:6255
headerType?
optionalheaderType:null|HeaderType
Defined in: WAProto/index.d.ts:6249
Implementation of
imageMessage?
optionalimageMessage:null|IImageMessage
Defined in: WAProto/index.d.ts:6252
Implementation of
locationMessage?
optionallocationMessage:null|ILocationMessage
Defined in: WAProto/index.d.ts:6254
Implementation of
IButtonsMessage.locationMessage
text?
optionaltext:null|string
Defined in: WAProto/index.d.ts:6250
Implementation of
videoMessage?
optionalvideoMessage:null|IVideoMessage
Defined in: WAProto/index.d.ts:6253
Implementation of
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:6261
Returns
object
create()
staticcreate(properties?):ButtonsMessage
Defined in: WAProto/index.d.ts:6256
Parameters
properties?
Returns
decode()
staticdecode(r,l?):ButtonsMessage
Defined in: WAProto/index.d.ts:6258
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
encode()
staticencode(m,w?):Writer
Defined in: WAProto/index.d.ts:6257
Parameters
m
w?
Writer
Returns
Writer
fromObject()
staticfromObject(d):ButtonsMessage
Defined in: WAProto/index.d.ts:6259
Parameters
d
Returns
getTypeUrl()
staticgetTypeUrl(typeUrlPrefix?):string
Defined in: WAProto/index.d.ts:6262
Parameters
typeUrlPrefix?
string
Returns
string
toObject()
statictoObject(m,o?):object
Defined in: WAProto/index.d.ts:6260
Parameters
m
o?
IConversionOptions
Returns
object