Class TdApi.GetExternalLinkInfo

Enclosing class:
TdApi

public static class TdApi.GetExternalLinkInfo
extends TdApi.Function
Returns information about an action to be done when the current user clicks an HTTP link. This method can be used to automatically authorize the current user on a website. Don't use this method for links from secret chats if link preview is disabled in secret chats.

Returns LoginUrlInfo

  • Field Details

  • Constructor Details

    • GetExternalLinkInfo

      public GetExternalLinkInfo()
      Returns information about an action to be done when the current user clicks an HTTP link. This method can be used to automatically authorize the current user on a website. Don't use this method for links from secret chats if link preview is disabled in secret chats.

      Returns LoginUrlInfo

    • GetExternalLinkInfo

      public GetExternalLinkInfo​(String link)
      Returns information about an action to be done when the current user clicks an HTTP link. This method can be used to automatically authorize the current user on a website. Don't use this method for links from secret chats if link preview is disabled in secret chats.

      Returns LoginUrlInfo

      Parameters:
      link - String The HTTP link.
    • GetExternalLinkInfo

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