Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a TemplateButtonReplyMessage.

Hierarchy

  • TemplateButtonReplyMessage

Implements

Index

Constructors

Properties

contextInfo?: IContextInfo

TemplateButtonReplyMessage contextInfo.

selectedDisplayText: string

TemplateButtonReplyMessage selectedDisplayText.

selectedId: string

TemplateButtonReplyMessage selectedId.

selectedIndex: number

TemplateButtonReplyMessage selectedIndex.

Methods

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

    Returns {}

    JSON object

    • [k: string]: any
  • Decodes a TemplateButtonReplyMessage 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 TemplateButtonReplyMessage

    TemplateButtonReplyMessage

  • Decodes a TemplateButtonReplyMessage 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 TemplateButtonReplyMessage

    TemplateButtonReplyMessage

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

    Parameters

    Returns Writer

    Writer

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

    Parameters

    • object: {}

      Plain object

      • [k: string]: any

    Returns TemplateButtonReplyMessage

    TemplateButtonReplyMessage

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

    Parameters

    Returns {}

    Plain object

    • [k: string]: any
  • verify(message: {}): string
  • Verifies a TemplateButtonReplyMessage 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