Struct tbot::methods::SetChatPermissions
source · pub struct SetChatPermissions<'a> { /* private fields */ }
Expand description
Sets a group’s global permissions.
Reflects the setChatPermissions
method.
Implementations§
source§impl SetChatPermissions<'_>
impl SetChatPermissions<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for SetChatPermissions<'a>
impl<'a> Clone for SetChatPermissions<'a>
source§fn clone(&self) -> SetChatPermissions<'a>
fn clone(&self) -> SetChatPermissions<'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