telegram api constructor · layer 229 · #a22cbd96

chatInviteExported

Exported chat invite

definition

chatInviteExported#a22cbd96 flags:# revoked:flags.0?true permanent:flags.5?true request_needed:flags.6?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int requested:flags.7?int subscription_expired:flags.10?int title:flags.8?string subscription_pricing:flags.9?StarsSubscriptionPricing = ExportedChatInvite;

parameters

nametypedescription
flags#Flags, see TL conditional fields
revokedflags.0?trueWhether this chat invite was revoked
permanentflags.5?trueWhether this chat invite has no expiration
request_neededflags.6?trueWhether users importing this invite link will have to be approved to join the channel or group
linkstringChat invitation link
admin_idlongID of the admin that created this chat invite
dateintWhen was this chat invite created
start_dateflags.4?intWhen was this chat invite last modified
expire_dateflags.1?intWhen does this chat invite expire
usage_limitflags.2?intMaximum number of users that can join using this link
usageflags.3?intHow many users joined using this link
requestedflags.7?intNumber of users that have already used this link to join
subscription_expiredflags.10?intFor 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.
titleflags.8?stringCustom description for the invite link, visible only to admins
subscription_pricingflags.9?StarsSubscriptionPricingFor Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.

type

ExportedChatInvite · other constructors: chatInvitePublicJoinRequests

history

present in layers 46–229 · constructor id changed 4×

idlayers
#fc2e05bc46–122
#6e24fc9d123–132
#b18105e8133
#0ab4a819134–185
#a22cbd96186–229