chatInvite #

Chat invite info

Layer 223

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 #

NameTypeDescription
flags#Flags, see TL conditional fields
channelflags.0?trueWhether this is a channel/supergroup or a normal group
broadcastflags.1?trueWhether this is a channel
publicflags.2?trueWhether this is a public channel/supergroup
megagroupflags.3?trueWhether this is a supergroup
request_neededflags.6?trueWhether the join request » must be first approved by an administrator
verifiedflags.7?trueIs this chat or channel verified by Telegram?
scamflags.8?trueThis chat is probably a scam
fakeflags.9?trueIf set, this chat was reported by many users as a fake or scam: be careful when interacting with it.
can_refulfill_subscriptionflags.11?trueIf 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.
titlestringChat/supergroup/channel title
aboutflags.5?stringDescription of the group of channel
photoPhotoChat/supergroup/channel photo
participants_countintParticipant count
participantsflags.4?Vector<User>A few of the participants that are in the group
colorintProfile color palette ID
subscription_pricingflags.10?StarsSubscriptionPricingFor Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.
subscription_form_idflags.12?longFor Telegram Star subscriptions », the ID of the payment form for the subscription.
bot_verificationflags.13?BotVerificationDescribes a bot verification icon ».

Type #

ChatInvite

Channels, supergroups, gigagroups and basic groups #

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

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!

Third-party verification #

To further improve transparency on Telegram, official third-party services are able to assign extra verification icons to user accounts and chats — in order to prevent scams and reduce misinformation.