chatInvite
Chat invite info
type tg.ChatInvite struct { /* ... */ }
Implements ChatInvite.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Channel | bool | — | Whether this is a channel/supergroup or a normal group |
Broadcast | bool | — | Whether this is a channel |
Public | bool | — | Whether this is a public channel/supergroup |
Megagroup | bool | — | Whether this is a supergroup |
RequestNeeded | bool | — | Whether the join request » must be first approved by an administrator |
Verified | bool | — | Is this chat or channel verified by Telegram? |
Scam | bool | — | This chat is probably a scam |
Fake | bool | — | If set, this chat was reported by many users as a fake or scam: be careful when interacting with it. |
CanRefulfillSubscription | bool | — | If set, indicates that the user has already paid for the associated Telegram Star subscriptions » and it hasn't expired yet, so they may re-join the channel using messages.importChatInvite without repeating the payment. |
Title | string | yes | Chat/supergroup/channel title |
About | string | — | Description of the group of channel |
Photo | PhotoClass | yes | Chat/supergroup/channel photo |
ParticipantsCount | int | yes | Participant count |
Participants | []UserClass | — | A few of the participants that are in the group |
Color | int | yes | Profile color palette ID |
SubscriptionPricing | StarsSubscriptionPricing | — | For Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel. |
SubscriptionFormID | int64 | — | For Telegram Star subscriptions », the ID of the payment form for the subscription. |
BotVerification | BotVerification | — | Describes a bot verification icon ». |
References
- Official documentation
- Generated Go reference
- TL definition:
chatInvite#5c9d3702