Constructs a new ButtonsResponseMessage.
Optional
properties:
IButtonsResponseMessage
Properties to set
Optional
contextButtonsResponseMessage contextInfo.
Optional
response
ButtonsResponseMessage response.
ButtonsResponseMessage selectedButtonId.
Optional
selectedButtonsResponseMessage selectedDisplayText.
ButtonsResponseMessage type.
Static
create
Creates a new ButtonsResponseMessage instance using the specified properties.
Optional
properties:
IButtonsResponseMessage
Properties to set
ButtonsResponseMessage instance
Static
decode
Decodes a ButtonsResponseMessage message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
ButtonsResponseMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a ButtonsResponseMessage message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ButtonsResponseMessage
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified ButtonsResponseMessage message. Does not implicitly verify messages.
ButtonsResponseMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified ButtonsResponseMessage message, length delimited. Does not implicitly verify messages.
ButtonsResponseMessage message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a ButtonsResponseMessage message from a plain object. Also converts values to their respective internal types.
Plain object
ButtonsResponseMessage
Static
toCreates a plain object from a ButtonsResponseMessage message. Also converts values to other types if specified.
ButtonsResponseMessage
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a ButtonsResponseMessage.