Class TdApi.GetWebPagePreview

  • Enclosing class:
    TdApi

    public static class TdApi.GetWebPagePreview
    extends TdApi.Function
    Returns a web page preview by the text of the message. Do not call this function too often. Returns a 404 error if the web page has no preview.

    Returns WebPage

    • Field Detail

      • CONSTRUCTOR

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

      • GetWebPagePreview

        public GetWebPagePreview()
        Default constructor.
      • GetWebPagePreview

        public GetWebPagePreview​(TdApi.FormattedText text)
        Constructor for initialization of all fields.
        Parameters:
        text - Message text with formatting.