pub enum ChatFull {
ChatFull(ChatFull),
ChannelFull(ChannelFull),
CommunityFull(CommunityFull),
}Expand description
Variants§
Implementations§
Source§impl ChatFull
impl ChatFull
Sourcepub fn can_set_username(&self) -> Option<&bool>
pub fn can_set_username(&self) -> Option<&bool>
Returns can_set_username if present in this variant.
Sourcepub fn has_scheduled(&self) -> Option<&bool>
pub fn has_scheduled(&self) -> Option<&bool>
Returns has_scheduled if present in this variant.
Sourcepub fn translations_disabled(&self) -> Option<&bool>
pub fn translations_disabled(&self) -> Option<&bool>
Returns translations_disabled if present in this variant.
Sourcepub fn chat_photo(&self) -> Option<&Photo>
pub fn chat_photo(&self) -> Option<&Photo>
Returns chat_photo if present in this variant.
Sourcepub fn notify_settings(&self) -> Option<&PeerNotifySettings>
pub fn notify_settings(&self) -> Option<&PeerNotifySettings>
Returns notify_settings if present in this variant.
Sourcepub fn exported_invite(&self) -> Option<&ExportedChatInvite>
pub fn exported_invite(&self) -> Option<&ExportedChatInvite>
Returns exported_invite if present in this variant.
Sourcepub fn pinned_msg_id(&self) -> Option<&i32>
pub fn pinned_msg_id(&self) -> Option<&i32>
Returns pinned_msg_id if present in this variant.
Sourcepub fn call(&self) -> Option<&InputGroupCall>
pub fn call(&self) -> Option<&InputGroupCall>
Returns call if present in this variant.
Sourcepub fn ttl_period(&self) -> Option<&i32>
pub fn ttl_period(&self) -> Option<&i32>
Returns ttl_period if present in this variant.
Sourcepub fn groupcall_default_join_as(&self) -> Option<&Peer>
pub fn groupcall_default_join_as(&self) -> Option<&Peer>
Returns groupcall_default_join_as if present in this variant.
Sourcepub fn theme_emoticon(&self) -> Option<&String>
pub fn theme_emoticon(&self) -> Option<&String>
Returns theme_emoticon if present in this variant.
Sourcepub fn requests_pending(&self) -> Option<&i32>
pub fn requests_pending(&self) -> Option<&i32>
Returns requests_pending if present in this variant.
Sourcepub fn recent_requesters(&self) -> Option<&Vec<i64>>
pub fn recent_requesters(&self) -> Option<&Vec<i64>>
Returns recent_requesters if present in this variant.
Sourcepub fn available_reactions(&self) -> Option<&ChatReactions>
pub fn available_reactions(&self) -> Option<&ChatReactions>
Returns available_reactions if present in this variant.
Sourcepub fn reactions_limit(&self) -> Option<&i32>
pub fn reactions_limit(&self) -> Option<&i32>
Returns reactions_limit if present in this variant.
Sourcepub fn admins_count(&self) -> Option<&i32>
pub fn admins_count(&self) -> Option<&i32>
Returns admins_count if present in this variant.
Sourcepub fn kicked_count(&self) -> Option<&i32>
pub fn kicked_count(&self) -> Option<&i32>
Returns kicked_count if present in this variant.
Trait Implementations§
Source§impl Deserializable for ChatFull
impl Deserializable for ChatFull
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Self from buf, advancing its position.