messages.ExportedChatInvite

class pyrogram.raw.base.messages.ExportedChatInvite

Contains info about a chat invite, and eventually a pointer to the newest chat invite.

Constructors:

This base type has 2 constructors available.

messages.ExportedChatInvite

Info about a chat invite

messages.ExportedChatInviteReplaced

The specified chat invite was replaced with another one

Functions:

This object can be returned by 2 functions.

messages.GetExportedChatInvite

Get info about a chat invite

messages.EditExportedChatInvite

Edit an exported chat invite

TL Schema

messages.exportedChatInvite#1871be50
invite:ExportedChatInvite
users:Vector<User>

= messages.ExportedChatInvite

Parameter Tree

ExportedChatInvite
├── inviteExportedChatInvite
│ ├── ChatInviteExported
│ │ ├── revokedtrue (optional)
│ │ ├── permanenttrue (optional)
│ │ ├── request_neededtrue (optional)
│ │ ├── linkstring
│ │ ├── admin_idlong
│ │ ├── dateint
│ │ ├── start_dateint (optional)
│ │ ├── expire_dateint (optional)
│ │ ├── usage_limitint (optional)
│ │ ├── usageint (optional)
│ │ ├── requestedint (optional)
│ │ ├── subscription_expiredint (optional)
│ │ ├── titlestring (optional)
│ │ └── subscription_pricingStarsSubscriptionPricing (optional)
│ │ └── StarsSubscriptionPricing
│ │ ├── periodint
│ │ └── amountlong
└── usersVector < User >
├── 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
│ ├── has_videotrue (optional)
│ ├── personaltrue (optional)
│ ├── photo_idlong
│ ├── stripped_thumbbytes (optional)
│ └── dc_idint
├── statusUserStatus (optional)
│ ├── UserStatusEmpty
│ ├── UserStatusOnline
│ │ └── expiresint
│ ├── UserStatusOffline
│ │ └── was_onlineint
│ ├── UserStatusRecently
│ │ └── by_metrue (optional)
│ ├── UserStatusLastWeek
│ │ └── by_metrue (optional)
│ └── UserStatusLastMonth
│ └── by_metrue (optional)
├── bot_info_versionint (optional)
├── restriction_reasonVector < RestrictionReason > (optional)
│ └── RestrictionReason
│ ├── platformstring
│ ├── reasonstring
│ └── textstring
├── bot_inline_placeholderstring (optional)
├── lang_codestring (optional)
├── emoji_statusEmojiStatus (optional)
│ ├── EmojiStatusEmpty
│ ├── EmojiStatus
│ │ ├── document_idlong
│ │ └── untilint (optional)
│ │ ├── collectible_idlong
│ │ ├── document_idlong
│ │ ├── titlestring
│ │ ├── slugstring
│ │ ├── pattern_document_idlong
│ │ ├── center_colorint
│ │ ├── edge_colorint
│ │ ├── pattern_colorint
│ │ ├── text_colorint
│ │ └── untilint (optional)
│ ├── collectible_idlong
│ └── untilint (optional)
├── usernamesVector < Username > (optional)
│ └── Username
│ ├── editabletrue (optional)
│ ├── activetrue (optional)
│ └── usernamestring
├── stories_max_idRecentStory (optional)
│ └── RecentStory
│ ├── livetrue (optional)
│ └── max_idint (optional)
├── colorPeerColor (optional)
│ ├── PeerColor
│ │ ├── colorint (optional)
│ │ └── background_emoji_idlong (optional)
│ ├── PeerColorCollectible
│ │ ├── collectible_idlong
│ │ ├── gift_emoji_idlong
│ │ ├── background_emoji_idlong
│ │ ├── accent_colorint
│ │ ├── colorsVector < int >
│ │ ├── dark_accent_colorint (optional)
│ │ └── dark_colorsVector < int > (optional)
│ └── collectible_idlong
├── profile_colorPeerColor (optional)
│ ├── PeerColor
│ │ ├── colorint (optional)
│ │ └── background_emoji_idlong (optional)
│ ├── PeerColorCollectible
│ │ ├── collectible_idlong
│ │ ├── gift_emoji_idlong
│ │ ├── background_emoji_idlong
│ │ ├── accent_colorint
│ │ ├── colorsVector < int >
│ │ ├── dark_accent_colorint (optional)
│ │ └── dark_colorsVector < int > (optional)
│ └── collectible_idlong
├── bot_active_usersint (optional)
├── bot_verification_iconlong (optional)
└── send_paid_messages_starslong (optional)

Example

ExportedChatInvite(
    invite=ChatInviteExported(
        revoked=None,
        permanent=None,
        request_needed=None,
        link="text",
        admin_id=0,
        date=0,
        start_date=None,
        expire_date=None,
        usage_limit=None,
        usage=None,
        requested=None,
        subscription_expired=None,
        title=None,
        subscription_pricing=None
    ),
    users=[
            UserEmpty(id=0)
        ],
)