class pyrogram.raw.types.ChannelForbidden#

Indicates a channel/supergroup we can’t access because we were banned, or for some other reason.

Constructor of Chat.

  • Layer: 158

  • ID: 17D493D5

  • id (int 64-bit) – Channel ID.

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

  • title (str) – Title.

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

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

  • until_date (int 32-bit, optional) – The ban is valid until the specified date.