messages.RequestUrlAuth
- class pyrogram.raw.functions.messages.RequestUrlAuth
Get more info about a Seamless Telegram Login authorization request, for more info click here »
- Details:
Layer:
223ID:
894CC99C
- Parameters:
peer (
InputPeer, optional) – Peer where the message is locatedmsg_id (
int32-bit, optional) – The messagebutton_id (
int32-bit, optional) – The ID of the button with the authorization requesturl (
str, optional) – URL used for link URL authorization, click here for more info »in_app_origin (
str, optional) – N/A
- Returns:
TL Schema
messages.requestUrlAuth#894cc99c
flags:#
peer:flags.1?InputPeer
msg_id:flags.1?int
button_id:flags.1?int
url:flags.2?string
in_app_origin:flags.3?string
= UrlAuthResult
Parameter Tree
RequestUrlAuth
├── peer →
InputPeer (optional)│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── msg_id →
int (optional)├── button_id →
int (optional)├── url →
string (optional)└── in_app_origin →
string (optional)Example
await app.invoke(
RequestUrlAuth(
peer=await app.resolve_peer(chat_id),
msg_id=0,
button_id=0,
url="https://google.com",
in_app_origin="text",
)
)