Interface GetOauthLinkInfo

Returns information about an OAuth deep link. Use checkOauthRequestMatchCode, acceptOauthRequest or declineOauthRequest to process the link. Request type for Tdjson#getOauthLinkInfo.

interface GetOauthLinkInfo {
    @type: "getOauthLinkInfo";
    in_app_origin: string;
    url: string;
}

Properties

@type: "getOauthLinkInfo"
in_app_origin: string

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

url: string

URL of the link.