Module tdlight.api

Class TdApi.GetWebPagePreview

Enclosing class:
TdApi

public static final class TdApi.GetWebPagePreview extends TdApi.Function<TdApi.WebPage>
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
      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
      Throws:
      IOException
  • Method Details