Class TdApi.GetExternalLink

Enclosing class:
TdApi

public static class TdApi.GetExternalLink
extends TdApi.Function
Returns an HTTP URL to open when user clicks on a given HTTP link. This method can be used to automatically login user on a Telegram site.

Returns HttpUrl

  • Field Details

  • Constructor Details

    • GetExternalLink

      public GetExternalLink()
      Returns an HTTP URL to open when user clicks on a given HTTP link. This method can be used to automatically login user on a Telegram site.

      Returns HttpUrl

    • GetExternalLink

      public GetExternalLink​(String link)
      Returns an HTTP URL to open when user clicks on a given HTTP link. This method can be used to automatically login user on a Telegram site.

      Returns HttpUrl

      Parameters:
      link - String The HTTP link.
    • GetExternalLink

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