Struct rtdlib::types::TransferChatOwnership
source · [−]pub struct TransferChatOwnership { /* private fields */ }
Expand description
Changes the owner of a chat. The current user must be a current owner of the chat. Use the method canTransferOwnership to check whether the ownership can be transferred from the current session. Available only for supergroups and channel 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 TransferChatOwnership
impl Send for TransferChatOwnership
impl Sync for TransferChatOwnership
impl Unpin for TransferChatOwnership
impl UnwindSafe for TransferChatOwnership
Blanket Implementations
Mutably borrows from an owned value. Read more