pub struct ApiNewGroup {
pub user_id: i64,
pub incognito: bool,
pub group_profile: GroupProfile,
}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.
Create group.
Network usage: no.
Syntax:
/_group <userId>[ incognito=on] <json(groupProfile)>Fields§
§user_id: i64§incognito: bool§group_profile: GroupProfileTrait Implementations§
Source§impl Clone for ApiNewGroup
impl Clone for ApiNewGroup
Source§fn clone(&self) -> ApiNewGroup
fn clone(&self) -> ApiNewGroup
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 ApiNewGroup
impl CommandSyntax for ApiNewGroup
Source§impl Debug for ApiNewGroup
impl Debug for ApiNewGroup
Source§impl PartialEq for ApiNewGroup
impl PartialEq for ApiNewGroup
impl StructuralPartialEq for ApiNewGroup
Auto Trait Implementations§
impl Freeze for ApiNewGroup
impl RefUnwindSafe for ApiNewGroup
impl Send for ApiNewGroup
impl Sync for ApiNewGroup
impl Unpin for ApiNewGroup
impl UnwindSafe for ApiNewGroup
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