pub struct CallGetChatMember<'a, V> { /* private fields */ }
Implementations§
Source§impl<'a, V: Into<ChatHandle> + Serialize> CallGetChatMember<'a, V>
impl<'a, V: Into<ChatHandle> + Serialize> CallGetChatMember<'a, V>
Sourcepub fn chat_id(self, chat_id: V) -> Self
pub fn chat_id(self, chat_id: V) -> 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 V
pub fn get_user_id(&'a self) -> &'a i64
pub async fn build(self) -> BotResult<ChatMember>
Auto Trait Implementations§
impl<'a, V> Freeze for CallGetChatMember<'a, V>where
V: Freeze,
impl<'a, V> !RefUnwindSafe for CallGetChatMember<'a, V>
impl<'a, V> Send for CallGetChatMember<'a, V>where
V: Send,
impl<'a, V> Sync for CallGetChatMember<'a, V>where
V: Sync,
impl<'a, V> Unpin for CallGetChatMember<'a, V>where
V: Unpin,
impl<'a, V> !UnwindSafe for CallGetChatMember<'a, V>
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