pub struct GetChatAdministrators { /* private fields */ }Expand description
Builder for the getChatAdministrators method.
Implementations§
Source§impl GetChatAdministrators
impl GetChatAdministrators
Sourcepub fn return_bots(self, v: bool) -> Self
pub fn return_bots(self, v: bool) -> Self
Pass true to additionally receive all bots that are administrators of the chat.
By default, bots other than the current bot are omitted.
Trait Implementations§
Source§impl IntoFuture for GetChatAdministrators
impl IntoFuture for GetChatAdministrators
Source§type Output = Result<Vec<ChatMember>, Error>
type Output = Result<Vec<ChatMember>, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <GetChatAdministrators as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <GetChatAdministrators as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for GetChatAdministrators
impl !RefUnwindSafe for GetChatAdministrators
impl Send for GetChatAdministrators
impl Sync for GetChatAdministrators
impl Unpin for GetChatAdministrators
impl UnsafeUnpin for GetChatAdministrators
impl !UnwindSafe for GetChatAdministrators
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