pub struct CallReopenForumTopic<'a, V> { /* private fields */ }Implementations§
Source§impl<'a, V: Into<ChatHandle> + Serialize> CallReopenForumTopic<'a, V>
impl<'a, V: Into<ChatHandle> + Serialize> CallReopenForumTopic<'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 (in the format @supergroupusername)
pub fn get_chat_id(&'a self) -> &'a V
Sourcepub fn message_thread_id(self, message_thread_id: i64) -> Self
pub fn message_thread_id(self, message_thread_id: i64) -> Self
Unique identifier for the target message thread of the forum topic
pub fn get_message_thread_id(&'a self) -> &'a i64
pub async fn build(self) -> BotResult<bool>
Auto Trait Implementations§
impl<'a, V> Freeze for CallReopenForumTopic<'a, V>where
V: Freeze,
impl<'a, V> !RefUnwindSafe for CallReopenForumTopic<'a, V>
impl<'a, V> Send for CallReopenForumTopic<'a, V>where
V: Send,
impl<'a, V> Sync for CallReopenForumTopic<'a, V>where
V: Sync,
impl<'a, V> Unpin for CallReopenForumTopic<'a, V>where
V: Unpin,
impl<'a, V> UnsafeUnpin for CallReopenForumTopic<'a, V>where
V: UnsafeUnpin,
impl<'a, V> !UnwindSafe for CallReopenForumTopic<'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