Class TdApi.PushMessageContentText

Enclosing class:
TdApi

public static class TdApi.PushMessageContentText extends TdApi.PushMessageContent
A text message.
  • Field Details

    • text

      public String text
      Message text.
    • isPinned

      public boolean isPinned
      True, if the message is a pinned message with the specified content.
    • CONSTRUCTOR

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

    • PushMessageContentText

      public PushMessageContentText()
      A text message.
    • PushMessageContentText

      public PushMessageContentText(String text, boolean isPinned)
      A text message.
      Parameters:
      text - Message text.
      isPinned - True, if the message is a pinned message with the specified content.
  • 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