Struct rtdlib::types::ToggleChatIsPinned [−][src]
pub struct ToggleChatIsPinned { /* fields omitted */ }
Expand description
Changes the pinned state of a chat. You can pin up to GetOption(“pinned_chat_count_max”) non-secret chats and the same number of secret chats
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