Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a HydratedFourRowTemplate.

Hierarchy

  • HydratedFourRowTemplate

Implements

Index

Constructors

Properties

documentMessage?: IDocumentMessage

HydratedFourRowTemplate documentMessage.

hydratedButtons: IHydratedTemplateButton[]

HydratedFourRowTemplate hydratedButtons.

hydratedContentText: string

HydratedFourRowTemplate hydratedContentText.

hydratedFooterText: string

HydratedFourRowTemplate hydratedFooterText.

hydratedTitleText?: string

HydratedFourRowTemplate hydratedTitleText.

imageMessage?: IImageMessage

HydratedFourRowTemplate imageMessage.

locationMessage?: ILocationMessage

HydratedFourRowTemplate locationMessage.

templateId: string

HydratedFourRowTemplate templateId.

title?: "imageMessage" | "locationMessage" | "documentMessage" | "videoMessage" | "hydratedTitleText"

HydratedFourRowTemplate title.

videoMessage?: IVideoMessage

HydratedFourRowTemplate videoMessage.

Methods

  • toJSON(): {}
  • Converts this HydratedFourRowTemplate to JSON.

    Returns {}

    JSON object

    • [k: string]: any
  • Decodes a HydratedFourRowTemplate message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    • Optional length: number

    Returns HydratedFourRowTemplate

    HydratedFourRowTemplate

  • Decodes a HydratedFourRowTemplate message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Uint8Array | Reader

      Reader or buffer to decode from

    Returns HydratedFourRowTemplate

    HydratedFourRowTemplate

  • Encodes the specified HydratedFourRowTemplate message. Does not implicitly verify messages.

    Parameters

    Returns Writer

    Writer

  • Encodes the specified HydratedFourRowTemplate message, length delimited. Does not implicitly verify messages.

    Parameters

    Returns Writer

    Writer

  • Creates a HydratedFourRowTemplate message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns HydratedFourRowTemplate

    HydratedFourRowTemplate

  • Creates a plain object from a HydratedFourRowTemplate message. Also converts values to other types if specified.

    Parameters

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): string
  • Verifies a HydratedFourRowTemplate message.

    Parameters

    • message: {}

      Plain object to verify

      • [k: string]: any

    Returns string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc