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()
        Default constructor.
      • MessageText

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