pub struct AddChatMembers { /* private fields */ }
Expand description
Adds multiple new members to a chat. Currently, this method is only available for supergroups and channels. This method can’t be used to join a chat. Members can’t be added to a channel if it has more than 200 members
Implementations§
Trait Implementations§
Source§impl AsRef<AddChatMembers> for AddChatMembers
impl AsRef<AddChatMembers> for AddChatMembers
Source§fn as_ref(&self) -> &AddChatMembers
fn as_ref(&self) -> &AddChatMembers
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for AddChatMembers
impl Clone for AddChatMembers
Source§fn clone(&self) -> AddChatMembers
fn clone(&self) -> AddChatMembers
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 moreSource§impl Debug for AddChatMembers
impl Debug for AddChatMembers
Source§impl Default for AddChatMembers
impl Default for AddChatMembers
Source§fn default() -> AddChatMembers
fn default() -> AddChatMembers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddChatMembers
impl<'de> Deserialize<'de> for AddChatMembers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AddChatMembers
impl RefUnwindSafe for AddChatMembers
impl Send for AddChatMembers
impl Sync for AddChatMembers
impl Unpin for AddChatMembers
impl UnwindSafe for AddChatMembers
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