pub struct GetChatAdministrators {
pub chat_id: ChatId,
}Expand description
Use this method to get a list of administrators in a chat. On success, returns an Array of ChatMember objects that contains information about all chat administrators except other bots. If the chat is a group or a supergroup and no administrators were appointed, only the creator will be returned.
Fields§
§chat_id: ChatIdUnique identifier for the target group or username of the target supergroup or channel (in the format @channelusername)
Implementations§
Trait Implementations§
Source§impl Clone for GetChatAdministrators
impl Clone for GetChatAdministrators
Source§fn clone(&self) -> GetChatAdministrators
fn clone(&self) -> GetChatAdministrators
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 Serialize for GetChatAdministrators
impl Serialize for GetChatAdministrators
impl JsonMethod for GetChatAdministrators
Auto Trait Implementations§
impl Freeze for GetChatAdministrators
impl RefUnwindSafe for GetChatAdministrators
impl Send for GetChatAdministrators
impl Sync for GetChatAdministrators
impl Unpin 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