ChannelForbidden

class pyrogram.raw.types.ChannelForbidden

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

Constructor type of Chat.

Details
  • Layer: 126

  • ID: 0x289da732

Parameters
  • id (int 32-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.