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 #
| Name | Type | Description |
|---|---|---|
| url | string | The OAuth deep link from the OAUTH_REQUEST push notification or the oauth_request web event |
Result #
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.¶