Struct tbot::methods::SetChatPhoto
source · pub struct SetChatPhoto<'a> { /* private fields */ }
Expand description
Sets a chat’s photo.
Reflects the setChatPhoto
method.
Implementations§
source§impl SetChatPhoto<'_>
impl SetChatPhoto<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for SetChatPhoto<'a>
impl<'a> Clone for SetChatPhoto<'a>
source§fn clone(&self) -> SetChatPhoto<'a>
fn clone(&self) -> SetChatPhoto<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more