messages.declineUrlAuth

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

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

Parameters

Name Type Description
url string The OAuth deep link from the OAUTH_REQUEST push notification or the oauth_request web event

Result

Bool

Both users and bots can use this method

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.