Struct tbot::methods::PinChatMessage
source · pub struct PinChatMessage<'a> { /* private fields */ }
Expand description
Pins a message in a chat.
Reflects the pinChatMessage
method.
Implementations§
source§impl<'a> PinChatMessage<'a>
impl<'a> PinChatMessage<'a>
sourcepub const fn is_notification_disabled(self, is_disabled: bool) -> Self
pub const fn is_notification_disabled(self, is_disabled: bool) -> Self
Configures whether the message is pinned silently.
Reflects the disable_notification
parameter.
source§impl PinChatMessage<'_>
impl PinChatMessage<'_>
sourcepub async fn call(self) -> Result<(), MethodCall>
pub async fn call(self) -> Result<(), MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for PinChatMessage<'a>
impl<'a> Clone for PinChatMessage<'a>
source§fn clone(&self) -> PinChatMessage<'a>
fn clone(&self) -> PinChatMessage<'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