pub struct ChannelFull {Show 66 fields
pub can_view_participants: bool,
pub can_set_username: bool,
pub can_set_stickers: bool,
pub hidden_prehistory: bool,
pub can_set_location: bool,
pub has_scheduled: bool,
pub can_view_stats: bool,
pub blocked: bool,
pub can_delete_channel: bool,
pub antispam: bool,
pub participants_hidden: bool,
pub translations_disabled: bool,
pub stories_pinned_available: bool,
pub view_forum_as_messages: bool,
pub restricted_sponsored: bool,
pub can_view_revenue: bool,
pub paid_media_allowed: bool,
pub can_view_stars_revenue: bool,
pub paid_reactions_available: bool,
pub stargifts_available: bool,
pub paid_messages_available: bool,
pub id: i64,
pub about: String,
pub participants_count: Option<i32>,
pub admins_count: Option<i32>,
pub kicked_count: Option<i32>,
pub banned_count: Option<i32>,
pub online_count: Option<i32>,
pub read_inbox_max_id: i32,
pub read_outbox_max_id: i32,
pub unread_count: i32,
pub chat_photo: Photo,
pub notify_settings: PeerNotifySettings,
pub exported_invite: Option<ExportedChatInvite>,
pub bot_info: Vec<BotInfo>,
pub migrated_from_chat_id: Option<i64>,
pub migrated_from_max_id: Option<i32>,
pub pinned_msg_id: Option<i32>,
pub stickerset: Option<StickerSet>,
pub available_min_id: Option<i32>,
pub folder_id: Option<i32>,
pub linked_chat_id: Option<i64>,
pub location: Option<ChannelLocation>,
pub slowmode_seconds: Option<i32>,
pub slowmode_next_send_date: Option<i32>,
pub stats_dc: Option<i32>,
pub pts: i32,
pub call: Option<InputGroupCall>,
pub ttl_period: Option<i32>,
pub pending_suggestions: Option<Vec<String>>,
pub groupcall_default_join_as: Option<Peer>,
pub theme_emoticon: Option<String>,
pub requests_pending: Option<i32>,
pub recent_requesters: Option<Vec<i64>>,
pub default_send_as: Option<Peer>,
pub available_reactions: Option<ChatReactions>,
pub reactions_limit: Option<i32>,
pub stories: Option<PeerStories>,
pub wallpaper: Option<WallPaper>,
pub boosts_applied: Option<i32>,
pub boosts_unrestrict: Option<i32>,
pub emojiset: Option<StickerSet>,
pub bot_verification: Option<BotVerification>,
pub stargifts_count: Option<i32>,
pub send_paid_messages_stars: Option<i64>,
pub main_tab: Option<ProfileTab>,
}Expand description
Generated from:
channelFull#e4e0b29d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true paid_reactions_available:flags2.16?true stargifts_available:flags2.19?true paid_messages_available:flags2.20?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet bot_verification:flags2.17?BotVerification stargifts_count:flags2.18?int send_paid_messages_stars:flags2.21?long main_tab:flags2.22?ProfileTab = ChatFullFields§
§can_view_participants: bool§can_set_username: bool§can_set_stickers: bool§can_set_location: bool§has_scheduled: bool§can_view_stats: bool§blocked: bool§can_delete_channel: bool§antispam: bool§translations_disabled: bool§stories_pinned_available: bool§view_forum_as_messages: bool§restricted_sponsored: bool§can_view_revenue: bool§paid_media_allowed: bool§can_view_stars_revenue: bool§paid_reactions_available: bool§stargifts_available: bool§paid_messages_available: bool§id: i64§about: String§participants_count: Option<i32>§admins_count: Option<i32>§kicked_count: Option<i32>§banned_count: Option<i32>§online_count: Option<i32>§read_inbox_max_id: i32§read_outbox_max_id: i32§unread_count: i32§chat_photo: Photo§notify_settings: PeerNotifySettings§exported_invite: Option<ExportedChatInvite>§bot_info: Vec<BotInfo>§migrated_from_chat_id: Option<i64>§migrated_from_max_id: Option<i32>§pinned_msg_id: Option<i32>§stickerset: Option<StickerSet>§available_min_id: Option<i32>§folder_id: Option<i32>§linked_chat_id: Option<i64>§location: Option<ChannelLocation>§slowmode_seconds: Option<i32>§slowmode_next_send_date: Option<i32>§stats_dc: Option<i32>§pts: i32§call: Option<InputGroupCall>§ttl_period: Option<i32>§pending_suggestions: Option<Vec<String>>§groupcall_default_join_as: Option<Peer>§theme_emoticon: Option<String>§requests_pending: Option<i32>§recent_requesters: Option<Vec<i64>>§default_send_as: Option<Peer>§available_reactions: Option<ChatReactions>§reactions_limit: Option<i32>§stories: Option<PeerStories>§wallpaper: Option<WallPaper>§boosts_applied: Option<i32>§boosts_unrestrict: Option<i32>§emojiset: Option<StickerSet>§bot_verification: Option<BotVerification>§stargifts_count: Option<i32>§send_paid_messages_stars: Option<i64>§main_tab: Option<ProfileTab>Trait Implementations§
Source§impl Clone for ChannelFull
impl Clone for ChannelFull
Source§fn clone(&self) -> ChannelFull
fn clone(&self) -> ChannelFull
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelFull
impl Debug for ChannelFull
Source§impl Deserializable for ChannelFull
impl Deserializable for ChannelFull
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChannelFull> for ChatFull
impl From<ChannelFull> for ChatFull
Source§fn from(x: ChannelFull) -> Self
fn from(x: ChannelFull) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelFull
impl Identifiable for ChannelFull
Source§const CONSTRUCTOR_ID: u32 = 0xe4e0b29d
const CONSTRUCTOR_ID: u32 = 0xe4e0b29d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelFull
impl PartialEq for ChannelFull
Source§impl Serializable for ChannelFull
impl Serializable for ChannelFull
Source§impl TryFrom<ChatFull> for ChannelFull
impl TryFrom<ChatFull> for ChannelFull
impl StructuralPartialEq for ChannelFull
Auto Trait Implementations§
impl Freeze for ChannelFull
impl RefUnwindSafe for ChannelFull
impl Send for ChannelFull
impl Sync for ChannelFull
impl Unpin for ChannelFull
impl UnsafeUnpin for ChannelFull
impl UnwindSafe for ChannelFull
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more