Skip to main content

chatInvite

Chat invite info

type tg.ChatInvite struct { /* ... */ }

Implements ChatInvite.

Fields

NameTypeRequiredDescription
ChannelboolWhether this is a channel/supergroup or a normal group
BroadcastboolWhether this is a channel
PublicboolWhether this is a public channel/supergroup
MegagroupboolWhether this is a supergroup
RequestNeededboolWhether the join request » must be first approved by an administrator
VerifiedboolIs this chat or channel verified by Telegram?
ScamboolThis chat is probably a scam
FakeboolIf set, this chat was reported by many users as a fake or scam: be careful when interacting with it.
CanRefulfillSubscriptionboolIf 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.
TitlestringyesChat/supergroup/channel title
AboutstringDescription of the group of channel
PhotoPhotoClassyesChat/supergroup/channel photo
ParticipantsCountintyesParticipant count
Participants[]UserClassA few of the participants that are in the group
ColorintyesProfile color palette ID
SubscriptionPricingStarsSubscriptionPricingFor Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.
SubscriptionFormIDint64For Telegram Star subscriptions », the ID of the payment form for the subscription.
BotVerificationBotVerificationDescribes a bot verification icon ».

References