[][src]Struct rtdlib::types::AddChatMembers

pub struct AddChatMembers { /* fields omitted */ }

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

Implementations

impl AddChatMembers[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDAddChatMembersBuilder[src]

pub fn chat_id(&self) -> i64[src]

pub fn user_ids(&self) -> &Vec<i64>[src]

Trait Implementations

impl AsRef<AddChatMembers> for AddChatMembers[src]

impl Clone for AddChatMembers[src]

impl Debug for AddChatMembers[src]

impl Default for AddChatMembers[src]

impl<'de> Deserialize<'de> for AddChatMembers[src]

impl RFunction for AddChatMembers[src]

impl RObject for AddChatMembers[src]

impl Serialize for AddChatMembers[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.