Struct clacks_mtproto::mtproto::chat::Channel
[−]
[src]
pub struct Channel { pub creator: bool, pub left: bool, pub editor: bool, pub broadcast: bool, pub verified: bool, pub megagroup: bool, pub restricted: bool, pub democracy: bool, pub signatures: bool, pub min: bool, pub id: int, pub access_hash: Option<long>, pub title: string, pub username: Option<string>, pub photo: ChatPhoto, pub date: int, pub version: int, pub restriction_reason: Option<string>, pub admin_rights: Option<ChannelAdminRights>, pub banned_rights: Option<ChannelBannedRights>, pub participants_count: Option<int>, }
TL-derived from channel
channel#450b7115 flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat;
Fields
creator: bool
left: bool
editor: bool
broadcast: bool
verified: bool
megagroup: bool
restricted: bool
democracy: bool
signatures: bool
min: bool
id: int
access_hash: Option<long>
title: string
username: Option<string>
photo: ChatPhoto
date: int
version: int
restriction_reason: Option<string>
admin_rights: Option<ChannelAdminRights>
banned_rights: Option<ChannelBannedRights>
participants_count: Option<int>
Trait Implementations
impl Debug for Channel
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Channel
[src]
fn clone(&self) -> Channel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more