messages.requestUrlAuth

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

urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult;
urlAuthResultAccepted#8f8c0e4e url:string = UrlAuthResult;
urlAuthResultDefault#a9d6db1f = UrlAuthResult;
---functions---
messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult;

Parameters

Name Type Description
peer InputPeer Peer where the message is located
msg_id int The message
button_id int The ID of the button with the authorization request

Result

UrlAuthResult

Possible errors

Code Type Description
400 BOT_METHOD_INVALID This method can't be used by a bot

Related pages

Seamless Telegram Login

Handle Seamless Telegram Login URL authorization requests.