Channel
---types---
channel#1c32b11c creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true autotranslation:flags2.15?true broadcast_messages_allowed:flags2.16?true monoforum:flags2.17?true forum_tabs:flags2.19?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?RecentStory color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int bot_verification_icon:flags2.13?long send_paid_messages_stars:flags2.14?long linked_monoforum_id:flags2.18?long = Chat
Belongs to
In Rust this constructor is a variant of the enums::Chat enum.
Match on it with: if let enums::Chat::Channel(v) = result { ... }
Parameters
| creator | true | optional |
| left | true | optional |
| broadcast | true | optional |
| verified | true | optional |
| megagroup | true | optional |
| restricted | true | optional |
| signatures | true | optional |
| min | true | optional |
| scam | true | optional |
| has_link | true | optional |
| has_geo | true | optional |
| slowmode_enabled | true | optional |
| call_active | true | optional |
| call_not_empty | true | optional |
| fake | true | optional |
| gigagroup | true | optional |
| noforwards | true | optional |
| join_to_send | true | optional |
| join_request | true | optional |
| forum | true | optional |
| stories_hidden | flags2.1?true | required |
| stories_hidden_min | flags2.2?true | required |
| stories_unavailable | flags2.3?true | required |
| signature_profiles | flags2.12?true | required |
| autotranslation | flags2.15?true | required |
| broadcast_messages_allowed | flags2.16?true | required |
| monoforum | flags2.17?true | required |
| forum_tabs | flags2.19?true | required |
| id | long | required |
| access_hash | long | optional |
| title | string | required |
| username | string | optional |
| photo | ChatPhoto | required |
| date | int | required |
| restriction_reason | Vector<RestrictionReason> | optional |
| admin_rights | ChatAdminRights | optional |
| banned_rights | ChatBannedRights | optional |
| default_banned_rights | ChatBannedRights | optional |
| participants_count | int | optional |
| usernames | flags2.0?Vector<Username> | required |
| stories_max_id | flags2.4?RecentStory | required |
| color | flags2.7?PeerColor | required |
| profile_color | flags2.8?PeerColor | required |
| emoji_status | flags2.9?EmojiStatus | required |
| level | flags2.10?int | required |
| subscription_until_date | flags2.11?int | required |
| bot_verification_icon | flags2.13?long | required |
| send_paid_messages_stars | flags2.14?long | required |
| linked_monoforum_id | flags2.18?long | required |