Class TdApi.RichMessageSourceMarkdown

Enclosing class:
TdApi

public static class TdApi.RichMessageSourceMarkdown extends TdApi.RichMessageSource
A Markdown-formatted rich message; for bots only.
  • Field Details

    • text

      public String text
      Markdown-formatted text of the message.
    • media

      Media used in the message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • RichMessageSourceMarkdown

      public RichMessageSourceMarkdown()
      A Markdown-formatted rich message; for bots only.
    • RichMessageSourceMarkdown

      public RichMessageSourceMarkdown(String text, TdApi.InputRichMessageMedia[] media)
      A Markdown-formatted rich message; for bots only.
      Parameters:
      text - Markdown-formatted text of the message.
      media - Media used in the message.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR