Interface CheckOauthRequestMatchCode

Checks a match-code for an OAuth authorization request. If fails, then the authorization request has failed. Otherwise, authorization confirmation dialog must be shown and the link must be processed using acceptOauthRequest or declineOauthRequest. Request type for Tdjson#checkOauthRequestMatchCode.

interface CheckOauthRequestMatchCode {
    @type: "checkOauthRequestMatchCode";
    match_code: string;
    url: string;
}

Properties

Properties

@type: "checkOauthRequestMatchCode"
match_code: string

The matching code chosen by the user.

url: string

URL of the OAuth deep link.