Link Search Menu Expand Document

Constructor: chatInviteExported

Back to constructors index

Exported chat invite

Attributes:

NameTypeRequiredDescription
revokedBoolOptionalWhether this chat invite was revoked
permanentBoolOptionalWhether this chat invite has no expiration
request_neededBoolOptionalWhether users importing this invite link will have to be approved to join the channel or group
linkstringYesChat invitation link
admin_idlongYesID of the admin that created this chat invite
dateintYesWhen was this chat invite created
start_dateintOptionalWhen was this chat invite last modified
expire_dateintOptionalWhen does this chat invite expire
usage_limitintOptionalMaximum number of users that can join using this link
usageintOptionalHow many users joined using this link
requestedintOptionalNumber of users that have already used this link to join
subscription_expiredintOptionalFor Telegram Star subscriptions », contains the number of chat members which have already joined the chat using the link, but have already left due to expiration of their subscription.
titlestringOptionalCustom description for the invite link, visible only to admins
subscription_pricingStarsSubscriptionPricingOptionalFor Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.

Type: ExportedChatInvite

Example:

$chatInviteExported = ['_' => 'chatInviteExported', 'revoked' => Bool, 'permanent' => Bool, 'request_needed' => Bool, 'link' => 'string', 'admin_id' => long, 'date' => int, 'start_date' => int, 'expire_date' => int, 'usage_limit' => int, 'usage' => int, 'requested' => int, 'subscription_expired' => int, 'title' => 'string', 'subscription_pricing' => StarsSubscriptionPricing];