pub struct ApiAddContact {
pub user_id: i64,
pub incognito: bool,
}Expand description
§Connection commands
These commands may be used to create connections. Most bots do not need to use them - bot users will connect via bot address with auto-accept enabled.
Create 1-time invitation link.
Network usage: interactive.
Syntax:
/_connect <userId>[ incognito=on]Fields§
§user_id: i64§incognito: boolTrait Implementations§
Source§impl Clone for ApiAddContact
impl Clone for ApiAddContact
Source§fn clone(&self) -> ApiAddContact
fn clone(&self) -> ApiAddContact
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 ApiAddContact
impl CommandSyntax for ApiAddContact
Source§impl Debug for ApiAddContact
impl Debug for ApiAddContact
Source§impl PartialEq for ApiAddContact
impl PartialEq for ApiAddContact
impl StructuralPartialEq for ApiAddContact
Auto Trait Implementations§
impl Freeze for ApiAddContact
impl RefUnwindSafe for ApiAddContact
impl Send for ApiAddContact
impl Sync for ApiAddContact
impl Unpin for ApiAddContact
impl UnwindSafe for ApiAddContact
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