messages.acceptUrlAuth
Use this to accept a Seamless Telegram Login authorization request, for more info click here »
Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization.md)
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
write_allowed | true | いいえ | Set this flag to allow the bot to send messages to you (if requested) |
share_phone_number | true | いいえ | Set this flag to share the user's phone number with the bot (if requested via [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` and consented to by the user) |
peer | InputPeer | いいえ | The location of the message |
msg_id | int | いいえ | Message ID of the message with the login button |
button_id | int | いいえ | ID of the login button |
url | string | いいえ | URL used for [link URL authorization, click here for more info »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |
match_code | string | いいえ | If [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes` was set, the emoji or code selected by the user from the provided list; must always be provided when `match_codes` is set, even if `match_codes_first` was set and the code was already validated via [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md) |
tonconnect_session | InputTonConnectOauthSession | いいえ | Тип TL: InputTonConnectOauthSession. |
レスポンス
UrlAuthResult