messages.declineUrlAuth

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

 Method schema is available as of layer 223. Switch »

Parameters

Name Type Description
url string The 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

Code Type Description
400 URL_INVALID Invalid URL provided.

Related pages

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.