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)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | لأ | Peer where the message is located |
msg_id | int | لأ | الرسالة |
button_id | int | لأ | The ID of the button with the authorization request |
url | string | لأ | 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 | لأ | 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) |
الردود
UrlAuthResult
MTProto RPC
- 500 · OAUTH_REQUEST_INVALID — The specified OAuth request is invalid.
- 400 · URL_EXPIRED — The specified OAuth request has expired.
- 400 · URL_INVALID — Invalid URL provided.