chatInvite

Chat invite info

chatInvite#cde0ec40 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 title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> color:int = ChatInvite;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
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
request_needed 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.
can_refulfill_subscription 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.importChatInvite 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
participants_count int Participant count
participants flags.4?Vector<User> A few of the participants that are in the group
color int Profile color palette ID
subscription_pricing flags.10?StarsSubscriptionPricing For Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.
subscription_form_id flags.12?long For Telegram Star subscriptions », the ID of the payment form for the subscription.

Type

ChatInvite

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

Invites

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

messages.importChatInvite

Import a chat invite and join a private chat/supergroup/channel

Accent colors

Telegram users and channels can change the accent color and background pattern of their profile page and their messages!