Class TdApi.MessageText

    • Field Detail

      • webPage

        public TdApi.WebPage webPage
        A preview of the web page that's mentioned in the text; may be null.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessageText

        public MessageText()
        A text message.
      • MessageText

        public MessageText​(TdApi.FormattedText text,
                           TdApi.WebPage webPage)
        A text message.
        Parameters:
        text - Text of the message.
        webPage - A preview of the web page that's mentioned in the text; may be null.