messages.requestUrlAuth
Get more info about a Seamless Telegram Login authorization request, for more info click here »
Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization.md)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Nein | Peer where the message is located |
msg_id | int | Nein | Die Nachricht |
button_id | int | Nein | The ID of the button with the authorization request |
url | string | Nein | URL used for [link URL authorization, click here for more info »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |
in_app_origin | string | Nein | For [OAuth authorization from mini apps »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): the origin of the webview that originated the OAuth request, in the format `scheme://host` (or `scheme://host:port` for non-default ports) |
Antworten
UrlAuthResult
MTProto RPC
- 500 · OAUTH_REQUEST_INVALID – Die angegebene OAuth-Anfrage ist ungültig.
- 400 · URL_EXPIRED — The specified OAuth request has expired.
- 400 · URL_INVALID — Invalid URL provided.