Struct rtdlib::types::SetChatPhoto [−][src]
pub struct SetChatPhoto { /* fields omitted */ }
Expand description
Changes the photo of a chat. Supported only for basic groups, supergroups and channels. Requires can_change_info rights. The photo will not be changed before request to the server has been completed
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 SetChatPhoto
impl Send for SetChatPhoto
impl Sync for SetChatPhoto
impl Unpin for SetChatPhoto
impl UnwindSafe for SetChatPhoto
Blanket Implementations
Mutably borrows from an owned value. Read more