ChatInvite

class pyrogram.raw.types.ChatInvite

Chat invite info

Constructor of ChatInvite.

Details:
  • Layer: 194

  • ID: FE65389D

Parameters:
  • title (str) – Chat/supergroup/channel title

  • photo (Photo) – Chat/supergroup/channel photo

  • participants_count (int 32-bit) – Participant count

  • color (int 32-bit) – Profile color palette ID

  • channel (bool, optional) – Whether this is a channel/supergroup or a normal group

  • broadcast (bool, optional) – Whether this is a channel

  • public (bool, optional) – Whether this is a public channel/supergroup

  • megagroup (bool, optional) – Whether this is a supergroup

  • request_needed (bool, optional) – Whether the join request » must be first approved by an administrator

  • verified (bool, optional) – Is this chat or channel verified by Telegram?

  • scam (bool, optional) – This chat is probably a scam

  • fake (bool, optional) – If set, this chat was reported by many users as a fake or scam: be careful when interacting with it.

  • can_refulfill_subscription (bool, optional) – N/A

  • about (str, optional) – Description of the group of channel

  • participants (List of User, optional) – A few of the participants that are in the group

  • subscription_pricing (StarsSubscriptionPricing, optional) – N/A

  • subscription_form_id (int 64-bit, optional) – N/A

Functions:

This object can be returned by 1 function.

messages.CheckChatInvite

Check the validity of a chat invite link and get basic info about it