Class TdApi.RichMessageSourceHtml

Enclosing class:
TdApi

public static class TdApi.RichMessageSourceHtml extends TdApi.RichMessageSource
An HTML-formatted rich message; for bots only.
  • Field Details

    • text

      public String text
      HTML-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

    • RichMessageSourceHtml

      public RichMessageSourceHtml()
      An HTML-formatted rich message; for bots only.
    • RichMessageSourceHtml

      public RichMessageSourceHtml(String text, TdApi.InputRichMessageMedia[] media)
      An HTML-formatted rich message; for bots only.
      Parameters:
      text - HTML-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