Class TdApi.GetOauthLinkInfo

Enclosing class:
TdApi

public static class TdApi.GetOauthLinkInfo extends TdApi.Function<TdApi.OauthLinkInfo>
Returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link.

Returns OauthLinkInfo

  • Field Details

    • url

      public String url
      URL of the link.
    • inAppOrigin

      public String inAppOrigin
      Origin of the OAuth request if the request was received from the in-app browser; pass an empty string otherwise.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetOauthLinkInfo

      public GetOauthLinkInfo()
      Default constructor for a function, which returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link.

      Returns OauthLinkInfo

    • GetOauthLinkInfo

      public GetOauthLinkInfo(String url, String inAppOrigin)
      Creates a function, which returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link.

      Returns OauthLinkInfo

      Parameters:
      url - URL of the link.
      inAppOrigin - Origin of the OAuth request if the request was received from the in-app browser; pass an empty string otherwise.
  • Method Details