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 Details

  • Constructor Details

    • GetWebPagePreview

      public GetWebPagePreview()
      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

    • GetWebPagePreview

      public GetWebPagePreview​(TdApi.FormattedText text)
      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

      Parameters:
      text - FormattedText Message text with formatting.
    • GetWebPagePreview

      public GetWebPagePreview​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details