Struct rust_tdlib::types::SetChatMessageTtl
source · pub struct SetChatMessageTtl { /* private fields */ }
Expand description
Changes the message TTL in a chat. Requires can_delete_messages administrator right in basic groups, supergroups and channels Message TTL can’t be changed in a chat with the current user (Saved Messages) and the chat 777000 (Telegram)
Implementations§
Trait Implementations§
source§impl AsRef<SetChatMessageTtl> for SetChatMessageTtl
impl AsRef<SetChatMessageTtl> for SetChatMessageTtl
source§fn as_ref(&self) -> &SetChatMessageTtl
fn as_ref(&self) -> &SetChatMessageTtl
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SetChatMessageTtl
impl Clone for SetChatMessageTtl
source§fn clone(&self) -> SetChatMessageTtl
fn clone(&self) -> SetChatMessageTtl
Returns a copy 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 SetChatMessageTtl
impl Debug for SetChatMessageTtl
source§impl Default for SetChatMessageTtl
impl Default for SetChatMessageTtl
source§fn default() -> SetChatMessageTtl
fn default() -> SetChatMessageTtl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetChatMessageTtl
impl<'de> Deserialize<'de> for SetChatMessageTtl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more