class pyrogram.raw.types.Channel

Channel/supergroup info.

Constructor type of Chat.

  • Layer: 126

  • ID: 0xd31a961e

  • id (int 32-bit) – ID of the channel.

  • title (str) – Title.

  • photo (ChatPhoto) – Profile photo.

  • date (int 32-bit) – Date when the user joined the supergroup/channel, or if the user isn’t a member, its creation date.

  • version (int 32-bit) – Version of the channel (always 0).

  • creator (bool, optional) – Whether the current user is the creator of this channel.

  • left (bool, optional) – Whether the current user has left this channel.

  • broadcast (bool, optional) – Is this a channel?.

  • verified (bool, optional) – Is this channel verified by telegram?.

  • megagroup (bool, optional) – Is this a supergroup?.

  • restricted (bool, optional) – Whether viewing/writing in this channel for a reason (see restriction_reason.

  • signatures (bool, optional) – Whether signatures are enabled (channels).

  • min (bool, optional) – See min.

  • scam (bool, optional) – This channel/supergroup is probably a scam.

  • has_link (bool, optional) – Whether this channel has a private join link.

  • has_geo (bool, optional) – Whether this chanel has a geoposition.

  • slowmode_enabled (bool, optional) – Whether slow mode is enabled for groups to prevent flood in chat.

  • call_active (bool, optional) – Telegram API parameter.

  • call_not_empty (bool, optional) – Telegram API parameter.

  • fake (bool, optional) – Telegram API parameter.

  • gigagroup (bool, optional) – Telegram API parameter.

  • access_hash (int 64-bit, optional) – Access hash.

  • username (str, optional) – Username.

  • restriction_reason (List of RestrictionReason, optional) – Contains the reason why access to this channel must be restricted.

  • admin_rights (ChatAdminRights, optional) – Admin rights of the user in this channel (see rights).

  • banned_rights (ChatBannedRights, optional) – Banned rights of the user in this channel (see rights).

  • default_banned_rights (ChatBannedRights, optional) – Default chat rights (see rights).

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