Layer 227
MessagesDeclineUrlAuth
Decline an incoming OAuth authorization request, notifying the server that the user refused the login request.
method
Users
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 |
Returns
BoolGogram Example
// MessagesDeclineUrlAuth - positional arguments result, err := client.MessagesDeclineUrlAuth("Hello, World!") if err != nil { // handle error } // result is *tg.Bool
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | URL_INVALID | Invalid URL provided. |