Struct rtdlib::types::SetChatMessageTtlSetting [−][src]
pub struct SetChatMessageTtlSetting { /* fields omitted */ }Expand description
Changes the message TTL setting (sets a new self-destruct timer) in a chat. Requires can_delete_messages administrator right in basic groups, supergroups and channels Message TTL setting of a chat with the current user (Saved Messages) and the chat 777000 (Telegram) can’t be changed
Implementations
Trait Implementations
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for SetChatMessageTtlSetting
impl Send for SetChatMessageTtlSetting
impl Sync for SetChatMessageTtlSetting
impl Unpin for SetChatMessageTtlSetting
impl UnwindSafe for SetChatMessageTtlSetting
Blanket Implementations
Mutably borrows from an owned value. Read more
