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_accesstrue (optional)
│ ├── request_phone_numbertrue (optional)
│ ├── match_codes_firsttrue (optional)
│ ├── botUser
│ │ ├── UserEmpty
│ │ │ └── idlong
│ │ └── User
│ │ ├── is_selftrue (optional)
│ │ ├── contacttrue (optional)
│ │ ├── mutual_contacttrue (optional)
│ │ ├── deletedtrue (optional)
│ │ ├── bottrue (optional)
│ │ ├── bot_chat_historytrue (optional)
│ │ ├── bot_nochatstrue (optional)
│ │ ├── verifiedtrue (optional)
│ │ ├── restrictedtrue (optional)
│ │ ├── mintrue (optional)
│ │ ├── bot_inline_geotrue (optional)
│ │ ├── supporttrue (optional)
│ │ ├── scamtrue (optional)
│ │ ├── apply_min_phototrue (optional)
│ │ ├── faketrue (optional)
│ │ ├── bot_attach_menutrue (optional)
│ │ ├── premiumtrue (optional)
│ │ ├── attach_menu_enabledtrue (optional)
│ │ ├── bot_can_edittrue (optional)
│ │ ├── close_friendtrue (optional)
│ │ ├── stories_hiddentrue (optional)
│ │ ├── stories_unavailabletrue (optional)
│ │ ├── contact_require_premiumtrue (optional)
│ │ ├── bot_businesstrue (optional)
│ │ ├── bot_has_main_apptrue (optional)
│ │ ├── bot_forum_viewtrue (optional)
│ │ ├── bot_forum_can_manage_topicstrue (optional)
│ │ ├── idlong
│ │ ├── access_hashlong (optional)
│ │ ├── first_namestring (optional)
│ │ ├── last_namestring (optional)
│ │ ├── usernamestring (optional)
│ │ ├── phonestring (optional)
│ │ ├── photoUserProfilePhoto (optional)
│ │ │ ├── UserProfilePhotoEmpty
│ │ │ └── UserProfilePhoto
│ │ ├── statusUserStatus (optional)
│ │ │ ├── UserStatusEmpty
│ │ │ ├── UserStatusOnline
│ │ │ ├── UserStatusOffline
│ │ │ ├── UserStatusRecently
│ │ │ ├── UserStatusLastWeek
│ │ │ └── UserStatusLastMonth
│ │ ├── bot_info_versionint (optional)
│ │ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ ├── bot_inline_placeholderstring (optional)
│ │ ├── lang_codestring (optional)
│ │ ├── emoji_statusEmojiStatus (optional)
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ ├── EmojiStatusCollectible
│ │ │ └── InputEmojiStatusCollectible
│ │ ├── usernamesVector < Username > (optional)
│ │ │ └── Username
│ │ ├── stories_max_idRecentStory (optional)
│ │ │ └── RecentStory
│ │ ├── colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── profile_colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── bot_active_usersint (optional)
│ │ ├── bot_verification_iconlong (optional)
│ │ └── send_paid_messages_starslong (optional)
│ ├── domainstring
│ ├── browserstring (optional)
│ ├── platformstring (optional)
│ ├── ipstring (optional)
│ ├── regionstring (optional)
│ ├── match_codesVector < string > (optional)
│ └── user_id_hintlong (optional)
│ └── urlstring (optional)

Example