messages.acceptUrlAuth
使用它接受无缝 Telegram 登录授权请求,有关更多信息,请单击此处 »
使用此接受无缝 Telegram 登录授权请求,了解更多信息 [点击此处 »](https://core.telegram.org/api/url-authorization.md)
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
write_allowed | true | 否 | 设置此标志以允许机器人向您发送消息(如果需要) |
share_phone_number | true | 否 | 设置此标志以与机器人共享用户的电话号码(如果通过 [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` 请求并得到用户同意) |
peer | InputPeer | 否 | 消息的位置 |
msg_id | int | 否 | 带有登录按钮的消息的消息ID |
button_id | int | 否 | 登录按钮的ID |
url | string | 否 | URL用于【链接URL授权,点击查看更多信息»](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |
match_code | string | 否 | 如果设置了 [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes`,则用户从提供的列表中选择的表情符号或代码;设置 `match_codes` 时必须始终提供,即使设置了 `match_codes_first` 并且代码已通过 [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md) 进行了验证 |
tonconnect_session | InputTonConnectOauthSession | 否 | Тип TL: InputTonConnectOauthSession. |
回应
UrlAuthResult