Class TdApi.RichMessage

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.RichMessage
Enclosing class:
TdApi

public static class TdApi.RichMessage extends TdApi.Object
Describes a message with rich formatting.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Content of the message.
    static final int
    Identifier uniquely determining type of the object.
    boolean
    True, if the object contains the full message.
    boolean
    True, if the message must be shown from right to left.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes a message with rich formatting.
    RichMessage(TdApi.PageBlock[] blocks, boolean isRtl, boolean isFull)
    Describes a message with rich formatting.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • blocks

      public TdApi.PageBlock[] blocks
      Content of the message.
    • isRtl

      public boolean isRtl
      True, if the message must be shown from right to left.
    • isFull

      public boolean isFull
      True, if the object contains the full message. Otherwise, getFullRichMessage must be used to get the full message.
    • CONSTRUCTOR

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

    • RichMessage

      public RichMessage()
      Describes a message with rich formatting.
    • RichMessage

      public RichMessage(TdApi.PageBlock[] blocks, boolean isRtl, boolean isFull)
      Describes a message with rich formatting.
      Parameters:
      blocks - Content of the message.
      isRtl - True, if the message must be shown from right to left.
      isFull - True, if the object contains the full message. Otherwise, getFullRichMessage must be used to get the full 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