Module tdlight.api

Class TdApi.PushMessageContentText

Enclosing class:
TdApi

public static final 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
      See Also:
  • Constructor Details

    • PushMessageContentText

      public PushMessageContentText()
      A text message.
    • PushMessageContentText

      public PushMessageContentText(String text, boolean isPinned)
      A text message.
      Parameters:
      text - String Message text.
      isPinned - boolean True, if the message is a pinned message with the specified content.
    • PushMessageContentText

      public PushMessageContentText(DataInput input) throws IOException
      A text message.
      Throws:
      IOException
  • Method Details