telegram api constructor · layer 229 · #5c9d3702
chatInvite
Chat invite info
definition
chatInvite#5c9d3702 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true can_refulfill_subscription:flags.11?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> color:int subscription_pricing:flags.10?StarsSubscriptionPricing subscription_form_id:flags.12?long bot_verification:flags.13?BotVerification = ChatInvite;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
channel | true | Whether this is a channel/supergroup or a normal group |
broadcast | true | Whether this is a channel |
public | true | Whether this is a public channel/supergroup |
megagroup | true | Whether this is a supergroup |
request_needed | true | Whether the join request » must be first approved by an administrator |
verified | true | Is this chat or channel verified by Telegram? |
scam | true | This chat is probably a scam |
fake | true | If set, this chat was reported by many users as a fake or scam: be careful when interacting with it. |
can_refulfill_subscription | true | 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 | Chat/supergroup/channel title |
about | string | Description of the group of channel |
photo | Photo | Chat/supergroup/channel photo |
participants_count | int | Participant count |
participants | Vector<User> | A few of the participants that are in the group |
color | int | Profile color palette ID |
subscription_pricing | StarsSubscriptionPricing | For Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel. |
subscription_form_id | long | For Telegram Star subscriptions », the ID of the payment form for the subscription. |
bot_verification | BotVerification | Describes a bot verification icon ». |
type
ChatInvite · other constructors: chatInviteAlready, chatInvitePeek
history
present in layers 46–229 · constructor id changed 6×
| id | layers |
|---|---|
| #93e99b60 | 46 |
| #db74f558 | 62–97 |
| #dfc2f58e | 98–133 |
| #300c44c1 | 134–165 |
| #cde0ec40 | 166–185 |
| #fe65389d | 186–195 |
| #5c9d3702 | 196–229 |