pub struct ApiRemoveMembers {
pub group_id: i64,
pub group_member_ids: Vec<i64>,
pub with_messages: bool,
}Expand description
§Group commands
Commands to manage and moderate groups. These commands can be used with business chats as well - they are groups. E.g., a common scenario would be to add human agents to business chat with the customer who connected via business address.
Remove members. Requires Admin role.
Network usage: background.
Syntax:
/_remove #<groupId> <groupMemberIds[0]>[,<groupMemberIds[1]>...][ messages=on]Fields§
§group_id: i64§group_member_ids: Vec<i64>§with_messages: boolTrait Implementations§
Source§impl Clone for ApiRemoveMembers
impl Clone for ApiRemoveMembers
Source§fn clone(&self) -> ApiRemoveMembers
fn clone(&self) -> ApiRemoveMembers
Returns a duplicate 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 moreSource§impl CommandSyntax for ApiRemoveMembers
impl CommandSyntax for ApiRemoveMembers
Source§impl Debug for ApiRemoveMembers
impl Debug for ApiRemoveMembers
Source§impl PartialEq for ApiRemoveMembers
impl PartialEq for ApiRemoveMembers
impl StructuralPartialEq for ApiRemoveMembers
Auto Trait Implementations§
impl Freeze for ApiRemoveMembers
impl RefUnwindSafe for ApiRemoveMembers
impl Send for ApiRemoveMembers
impl Sync for ApiRemoveMembers
impl Unpin for ApiRemoveMembers
impl UnwindSafe for ApiRemoveMembers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more