Optional allow_Pass true if the current user allowed the bot that was returned in getOauthLinkInfo to access their phone number.
Optional allow_Pass true if the current user allowed the bot that was returned in getOauthLinkInfo to send them messages.
The matching code chosen by the user.
Pass data required to access the user's TON wallet via TON Connect if the current user allowed this; pass null if the access wasn't requested or the user declined access.
URL of the OAuth deep link.
Accepts an OAuth authorization request. Returns an HTTP URL to open after successful authorization. May return an empty link if just a toast about successful login has to be shown. Request type for Tdjson#acceptOauthRequest.