Constructs a new FourRowTemplate.
Optional properties: IFourRowTemplateProperties to set
FourRowTemplate buttons.
Optional contentFourRowTemplate content.
Optional documentFourRowTemplate documentMessage.
Optional footerFourRowTemplate footer.
Optional highlyFourRowTemplate highlyStructuredMessage.
Optional imageFourRowTemplate imageMessage.
Optional locationFourRowTemplate locationMessage.
Optional titleFourRowTemplate title.
Optional videoFourRowTemplate videoMessage.
Static createCreates a new FourRowTemplate instance using the specified properties.
Optional properties: IFourRowTemplateProperties to set
FourRowTemplate instance
Static decodeDecodes a FourRowTemplate message from the specified reader or buffer.
Reader or buffer to decode from
Optional length: numberMessage 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 encodeEncodes the specified FourRowTemplate message. Does not implicitly verify messages.
FourRowTemplate message or plain object to encode
Optional writer: WriterWriter 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: WriterWriter 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: IConversionOptionsConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents a FourRowTemplate.