UrlAuthResult

class pyrogram.raw.base.UrlAuthResult

URL authorization result

Constructors:

This base type has 3 constructors available.

UrlAuthResultAccepted

Details about an accepted authorization request, for more info click here »

UrlAuthResultDefault

Details about an accepted authorization request, for more info click here »

UrlAuthResultRequest

Details about the authorization request, for more info click here »

Functions:

This object can be returned by 2 functions.

messages.RequestUrlAuth

Get more info about a Seamless Telegram Login authorization request, for more info click here »

messages.AcceptUrlAuth

Use this to accept a Seamless Telegram Login authorization request, for more info click here »

TL Schema


Parameter Tree

UrlAuthResult
│ ├── request_write_access → true (optional)
│ ├── request_phone_number → true (optional)
│ ├── match_codes_first → true (optional)
│ ├── is_app → true (optional)
│ ├── bot → User
│ │ ├── UserEmpty
│ │ │ └── id → long
│ │ └── User
│ │ ├── is_self → true (optional)
│ │ ├── contact → true (optional)
│ │ ├── mutual_contact → true (optional)
│ │ ├── deleted → true (optional)
│ │ ├── bot → true (optional)
│ │ ├── bot_chat_history → true (optional)
│ │ ├── bot_nochats → true (optional)
│ │ ├── verified → true (optional)
│ │ ├── restricted → true (optional)
│ │ ├── min → true (optional)
│ │ ├── bot_inline_geo → true (optional)
│ │ ├── support → true (optional)
│ │ ├── scam → true (optional)
│ │ ├── apply_min_photo → true (optional)
│ │ ├── fake → true (optional)
│ │ ├── bot_attach_menu → true (optional)
│ │ ├── premium → true (optional)
│ │ ├── attach_menu_enabled → true (optional)
│ │ ├── bot_can_edit → true (optional)
│ │ ├── close_friend → true (optional)
│ │ ├── stories_hidden → true (optional)
│ │ ├── stories_unavailable → true (optional)
│ │ ├── contact_require_premium → true (optional)
│ │ ├── bot_business → true (optional)
│ │ ├── bot_has_main_app → true (optional)
│ │ ├── bot_forum_view → true (optional)
│ │ ├── bot_forum_can_manage_topics → true (optional)
│ │ ├── bot_can_manage_bots → true (optional)
│ │ ├── bot_guestchat → true (optional)
│ │ ├── bot_guard → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long (optional)
│ │ ├── first_name → string (optional)
│ │ ├── last_name → string (optional)
│ │ ├── username → string (optional)
│ │ ├── phone → string (optional)
│ │ ├── photo → UserProfilePhoto (optional)
│ │ │ ├── UserProfilePhotoEmpty
│ │ │ └── UserProfilePhoto
│ │ ├── status → UserStatus (optional)
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── bot_info_version → int (optional)
│ │ ├── restriction_reason → Vector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ ├── bot_inline_placeholder → string (optional)
│ │ ├── lang_code → string (optional)
│ │ ├── emoji_status → EmojiStatus (optional)
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── usernames → Vector < Username > (optional)
│ │ │ └── Username
│ │ ├── stories_max_id → RecentStory (optional)
│ │ │ └── RecentStory
│ │ ├── color → PeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── profile_color → PeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── bot_active_users → int (optional)
│ │ ├── bot_verification_icon → long (optional)
│ │ └── send_paid_messages_stars → long (optional)
│ ├── domain → string
│ ├── browser → string (optional)
│ ├── platform → string (optional)
│ ├── ip → string (optional)
│ ├── region → string (optional)
│ ├── match_codes → Vector < string > (optional)
│ ├── user_id_hint → long (optional)
│ └── verified_app_name → string (optional)
│ └── url → string (optional)

Example