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

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 · other constructors: chatInviteAlready, chatInvitePeek

history

present in layers 46–229 · constructor id changed 6×

idlayers
#93e99b6046
#db74f55862–97
#dfc2f58e98–133
#300c44c1134–165
#cde0ec40166–185
#fe65389d186–195
#5c9d3702196–229