Struct rtdlib::types::ToggleChatIsPinned
source · [−]pub struct ToggleChatIsPinned { /* private fields */ }
Expand description
Changes the pinned state of a chat. There can be up to GetOption(“pinned_chat_count_max”)/GetOption(“pinned_archived_chat_count_max”) pinned non-secret chats and the same number of secret chats in the main/arhive chat list
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 ToggleChatIsPinned
impl Send for ToggleChatIsPinned
impl Sync for ToggleChatIsPinned
impl Unpin for ToggleChatIsPinned
impl UnwindSafe for ToggleChatIsPinned
Blanket Implementations
Mutably borrows from an owned value. Read more