Struct tbot::methods::ForwardMessage
source · pub struct ForwardMessage<'a> { /* private fields */ }
Expand description
Forwards a message.
Reflects the forwardMessage
method.
Implementations§
source§impl<'a> ForwardMessage<'a>
impl<'a> ForwardMessage<'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 sent silently.
Reflects the disable_notification
parameter.
source§impl ForwardMessage<'_>
impl ForwardMessage<'_>
sourcepub async fn call(self) -> Result<Message, MethodCall>
pub async fn call(self) -> Result<Message, MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for ForwardMessage<'a>
impl<'a> Clone for ForwardMessage<'a>
source§fn clone(&self) -> ForwardMessage<'a>
fn clone(&self) -> ForwardMessage<'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