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

Trait Implementations

impl Debug for Channel
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Channel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for Channel
[src]

impl BareDeserialize for Channel
[src]

impl IntoBoxed for Channel
[src]

[src]

Auto Trait Implementations

impl Send for Channel

impl Sync for Channel