Struct botapi::gen_methods::CallGetChatMember
source · pub struct CallGetChatMember<'a> { /* private fields */ }Implementations§
source§impl<'a> CallGetChatMember<'a>
impl<'a> CallGetChatMember<'a>
sourcepub fn chat_id(self, chat_id: i64) -> Self
pub fn chat_id(self, chat_id: i64) -> Self
Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
pub fn get_chat_id(&'a self) -> &'a i64
pub fn get_user_id(&'a self) -> &'a i64
pub async fn build(self) -> BotResult<ChatMember>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CallGetChatMember<'a>
impl<'a> Send for CallGetChatMember<'a>
impl<'a> Sync for CallGetChatMember<'a>
impl<'a> Unpin for CallGetChatMember<'a>
impl<'a> !UnwindSafe for CallGetChatMember<'a>
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