messages.declineUrlAuth #

Decline an incoming OAuth authorization request », notifying the server that the user refused the login request.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.declineUrlAuth#35436bbc url:string = Bool;

Parameters #

NameTypeDescription
urlstringThe OAuth deep link from the OAUTH_REQUEST push notification or the oauth_request web event

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400URL_INVALIDInvalid URL provided.

Handling PUSH-notifications #

How to subscribe to and handle PUSH notifications

Web events #

How telegram apps interact with webpages

Seamless Telegram Login #

Handle Seamless Telegram Login URL authorization requests.