ChannelForbidden
- 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.- Details:
Layer:
223ID:
17D493D5
- Parameters:
id (
int64-bit) – Channel IDaccess_hash (
int64-bit) – Access hashtitle (
str) – Titlebroadcast (
bool, optional) – Is this a channelmegagroup (
bool, optional) – Is this a supergroupmonoforum (
bool, optional)until_date (
int32-bit, optional) – The ban is valid until the specified date
TL Schema
channelForbidden#17d493d5
flags:#
broadcast:flags.5?true
megagroup:flags.8?true
monoforum:flags.10?true
id:long
access_hash:long
title:string
until_date:flags.16?int
= Chat
Parameter Tree
ChannelForbidden
├── broadcast →
true (optional)├── megagroup →
true (optional)├── monoforum →
true (optional)├── id →
long├── access_hash →
long├── title →
string└── until_date →
int (optional)Example
ChannelForbidden(
id=0,
access_hash=0,
title="text",
)