Struct tbot::methods::UnpinChatMessage
source · pub struct UnpinChatMessage<'a> { /* private fields */ }
Expand description
Unpins a chat message.
Reflects the unpinChatMessage
method.
Implementations§
source§impl<'a> UnpinChatMessage<'a>
impl<'a> UnpinChatMessage<'a>
sourcepub const fn message_id(self, message_id: Id) -> Self
pub const fn message_id(self, message_id: Id) -> Self
Configures which message to unpin.
Reflects message_id
parameter.
source§impl UnpinChatMessage<'_>
impl UnpinChatMessage<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for UnpinChatMessage<'a>
impl<'a> Clone for UnpinChatMessage<'a>
source§fn clone(&self) -> UnpinChatMessage<'a>
fn clone(&self) -> UnpinChatMessage<'a>
Returns a copy 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 more