Struct tbot::methods::SetChatAdministratorCustomTitle
source · pub struct SetChatAdministratorCustomTitle<'a> { /* private fields */ }
Expand description
Sets a custom title for an admin in a supergroup promoted by the bot.
Reflects the setChatAdministratorCustomTitle
method.
Implementations§
source§impl SetChatAdministratorCustomTitle<'_>
impl SetChatAdministratorCustomTitle<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for SetChatAdministratorCustomTitle<'a>
impl<'a> Clone for SetChatAdministratorCustomTitle<'a>
source§fn clone(&self) -> SetChatAdministratorCustomTitle<'a>
fn clone(&self) -> SetChatAdministratorCustomTitle<'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