messages.checkUrlAuthMatchCode

Validate the match code selected by the user against the code shown on the login page, as part of the OAuth authorization flow ».

Only usable when both match_codes and match_codes_first are set in the urlAuthResultRequest returned by messages.requestUrlAuth.
If boolTrue is returned, proceed with the login flow and pass the verified code to messages.acceptUrlAuth.match_code.

 Method schema is available as of layer 223. Switch »

Parameters

Name Type Description
url string The OAuth deep link
match_code string The emoji or code selected by the user from the list in urlAuthResultRequest.match_codes

Result

Bool

Both users and bots can use this method

Related pages

urlAuthResultRequest

Details about the authorization request, for more info click here »

Seamless Telegram Login

Handle Seamless Telegram Login URL authorization requests.

messages.requestUrlAuth

Get more info about a Seamless Telegram Login authorization request, for more info click here »

boolTrue

The constructor can be interpreted as a booleantrue value.

messages.acceptUrlAuth

Use this to accept a Seamless Telegram Login authorization request, for more info click here »