ChatInvite

class pyrogram.raw.types.ChatInvite

Chat invite info.

Constructor type of ChatInvite.

Details
  • Layer: 126

  • ID: 0xdfc2f58e

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

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

  • participants_count (int 32-bit) – Participant count.

  • 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.

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

Methods

This object can be returned by 1 method:

messages.CheckChatInvite

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