pub struct CallEditChatSubscriptionInviteLink<'a, V> { /* private fields */ }Implementations§
Source§impl<'a, V: Into<ChatHandle> + Serialize> CallEditChatSubscriptionInviteLink<'a, V>
impl<'a, V: Into<ChatHandle> + Serialize> CallEditChatSubscriptionInviteLink<'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 channel (in the format @channelusername)
pub fn get_chat_id(&'a self) -> &'a V
Sourcepub fn invite_link(self, invite_link: &'a str) -> Self
pub fn invite_link(self, invite_link: &'a str) -> Self
The invite link to edit
pub fn get_invite_link(&'a self) -> &'a &'a str
pub fn get_name(&'a self) -> &'a Option<&'a str>
pub async fn build(self) -> BotResult<ChatInviteLink>
Auto Trait Implementations§
impl<'a, V> Freeze for CallEditChatSubscriptionInviteLink<'a, V>where
V: Freeze,
impl<'a, V> !RefUnwindSafe for CallEditChatSubscriptionInviteLink<'a, V>
impl<'a, V> Send for CallEditChatSubscriptionInviteLink<'a, V>where
V: Send,
impl<'a, V> Sync for CallEditChatSubscriptionInviteLink<'a, V>where
V: Sync,
impl<'a, V> Unpin for CallEditChatSubscriptionInviteLink<'a, V>where
V: Unpin,
impl<'a, V> !UnwindSafe for CallEditChatSubscriptionInviteLink<'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