Class TdApi.PushMessageContentText

    • Field Detail

      • 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:
        Constant Field Values
    • Constructor Detail

      • 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.