pub struct AddChatMembers {
pub chat_id: i64,
pub user_ids: Vec<i32>,
}
Expand description
Adds multiple new members to a chat. Currently this option is only available for supergroups and channels. This option can’t be used to join a chat. Members can’t be added to a channel if it has more than 200 members. Members will not be added until the chat state has been synchronized with the server
Fields§
§chat_id: i64
Chat identifier
user_ids: Vec<i32>
Identifiers of the users to be added to the chat
Trait Implementations§
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<'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
Source§impl Method for AddChatMembers
impl Method for AddChatMembers
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