chatInviteExported
Exported chat invite
type tg.ChatInviteExported struct { /* ... */ }
Implements ExportedChatInvite.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Revoked | bool | — | Whether this chat invite was revoked |
Permanent | bool | — | Whether this chat invite has no expiration |
RequestNeeded | bool | — | Whether users importing this invite link will have to be approved to join the channel or group |
Link | string | yes | Chat invitation link |
AdminID | int64 | yes | ID of the admin that created this chat invite |
Date | int | yes | When was this chat invite created |
StartDate | int | — | When was this chat invite last modified |
ExpireDate | int | — | When does this chat invite expire |
UsageLimit | 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 |
SubscriptionExpired | 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 |
SubscriptionPricing | StarsSubscriptionPricing | — | For Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel. |
References
- Official documentation
- Generated Go reference
- TL definition:
chatInviteExported#a22cbd96