Constructs a new FourRowTemplate.
Optional
properties:
IFourRowTemplate
Properties to set
FourRowTemplate buttons.
Optional
content
FourRowTemplate content.
Optional
documentFourRowTemplate documentMessage.
Optional
footer
FourRowTemplate footer.
Optional
highlyFourRowTemplate highlyStructuredMessage.
Optional
imageFourRowTemplate imageMessage.
Optional
locationFourRowTemplate locationMessage.
Optional
title
FourRowTemplate title.
Optional
videoFourRowTemplate videoMessage.
Static
create
Creates a new FourRowTemplate instance using the specified properties.
Optional
properties:
IFourRowTemplate
Properties to set
FourRowTemplate instance
Static
decode
Decodes a FourRowTemplate message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
FourRowTemplate
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a FourRowTemplate message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
FourRowTemplate
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified FourRowTemplate message. Does not implicitly verify messages.
FourRowTemplate message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified FourRowTemplate message, length delimited. Does not implicitly verify messages.
FourRowTemplate message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates a FourRowTemplate message from a plain object. Also converts values to their respective internal types.
Plain object
FourRowTemplate
Static
toCreates a plain object from a FourRowTemplate message. Also converts values to other types if specified.
FourRowTemplate
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents a FourRowTemplate.