Channel
- class pyrogram.raw.types.Channel
Channel/supergroup info
Constructor of
Chat
.- Details:
Layer:
194
ID:
FE4478BD
- Parameters:
id (
int
64-bit
) – ID of the channeltitle (
str
) – Titlephoto (
ChatPhoto
) – Profile photodate (
int
32-bit
) – Date when the user joined the supergroup/channel, or if the user isn’t a member, its creation datecreator (
bool
, optional) – Whether the current user is the creator of this channelleft (
bool
, optional) – Whether the current user has left or is not a member of this channelbroadcast (
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_reasonsignatures (
bool
, optional) – Whether signatures are enabled (channels)min (
bool
, optional) – See minscam (
bool
, optional) – This channel/supergroup is probably a scamhas_link (
bool
, optional) – Whether this channel has a private join linkhas_geo (
bool
, optional) – Whether this chanel has a geopositionslowmode_enabled (
bool
, optional) – Whether slow mode is enabled for groups to prevent flood in chatcall_active (
bool
, optional) – Whether a group call or livestream is currently activecall_not_empty (
bool
, optional) – Whether there’s anyone in the group call or livestreamfake (
bool
, optional) – If set, this supergroup/channel was reported by many users as a fake or scam: be careful when interacting with it.gigagroup (
bool
, optional) – Whether this supergroup is a gigagroupnoforwards (
bool
, optional) – Whether this channel or group is protected, thus does not allow forwarding messages from itjoin_to_send (
bool
, optional) – Whether a user needs to join the supergroup before they can send messages: can be false only for discussion groups », toggle using channels.toggleJoinToSendjoin_request (
bool
, optional) – Whether a user’s join request will have to be approved by administrators, toggle using channels.toggleJoinToSendforum (
bool
, optional) – Whether this supergroup is a forumstories_hidden (
bool
, optional) – Whether we have hidden all stories posted by this channel ».stories_hidden_min (
bool
, optional) – If set, indicates that the stories_hidden flag was not populated, and its value must cannot be relied on; use the previously cached value, or re-fetch the constructor using channels.getChannels to obtain the latest value of the stories_hidden flag.stories_unavailable (
bool
, optional) – No stories from the channel are visible.signature_profiles (
bool
, optional) – N/Aaccess_hash (
int
64-bit
, optional) – Access hashusername (
str
, optional) – Usernamerestriction_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 countusernames (List of
Username
, optional) – Additional usernamesstories_max_id (
int
32-bit
, optional) – ID of the maximum read story.color (
PeerColor
, optional) – The channel’s accent color.profile_color (
PeerColor
, optional) – The channel’s profile color.emoji_status (
EmojiStatus
, optional) – Emoji statuslevel (
int
32-bit
, optional) – Boost levelsubscription_until_date (
int
32-bit
, optional) – N/A