Layer 227
ChatInviteObj
Chat invite info
constructor
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 |
|---|---|---|
| Channel | flags .0? true | Whether this is a channel/supergroup or a normal group |
| Broadcast | flags .1? true | Whether this is a channel |
| Public | flags .2? true | Whether this is a public channel/supergroup |
| Megagroup | flags .3? true | Whether this is a supergroup |
| RequestNeeded | flags .6? true | Whether the join request must be first approved by an administrator |
| Verified | flags .7? true | Is this chat or channel verified by Telegram? |
| Scam | flags .8? true | This chat is probably a scam |
| Fake | flags .9? true | If set, this chat was reported by many users as a fake or scam: be careful when interacting with it. |
| CanRefulfillSubscription | flags .11? 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. import Chat Invite without repeating the payment. |
| Title | string | Chat/supergroup/channel title |
| About | flags .5? string | Description of the group of channel |
| Photo | Photo | Chat/supergroup/channel photo |
| ParticipantsCount | int | Participant count |
| Participants | flags .4? Vector < User > | A few of the participants that are in the group |
| Color | int | Profile color palette ID |
| SubscriptionPricing | flags .10? StarsSubscriptionPricing | For Telegram Star subscriptions, contains the pricing of the subscription the user must activate to join the private channel. |
| SubscriptionFormId | flags .12? long | For Telegram Star subscriptions, the ID of the payment form for the subscription. |
| BotVerification | flags .13? BotVerification | Describes a bot verification icon. |
Returns
ChatInviteGogram Example
// Creating ChatInviteObj constructor obj := &tg.ChatInviteObj{ Channel: nil, Broadcast: nil, Public: nil, Megagroup: nil, RequestNeeded: nil, Verified: nil, // ... more required fields }