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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
revoked | true | Whether this chat invite was revoked |
permanent | true | Whether this chat invite has no expiration |
request_needed | true | Whether users importing this invite link will have to be approved to join the channel or group |
link | string | Chat invitation link |
admin_id | long | ID of the admin that created this chat invite |
date | int | When was this chat invite created |
start_date | int | When was this chat invite last modified |
expire_date | int | When does this chat invite expire |
usage_limit | int | Maximum number of users that can join using this link |
usage | int | How many users joined using this link |
requested | int | Number of users that have already used this link to join |
subscription_expired | int | For 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. |
title | string | Custom description for the invite link, visible only to admins |
subscription_pricing | StarsSubscriptionPricing | For 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×
| id | layers |
|---|---|
| #fc2e05bc | 46–122 |
| #6e24fc9d | 123–132 |
| #b18105e8 | 133 |
| #0ab4a819 | 134–185 |
| #a22cbd96 | 186–229 |