pub struct ForwardMessage { /* private fields */ }
Expand description
Use this method to forward messages of any kind.
Implementations§
source§impl ForwardMessage
impl ForwardMessage
pub fn new<M, F, T>(message: M, from: F, to: T) -> Selfwhere
M: ToMessageId,
F: ToChatRef,
T: ToChatRef,
pub fn disable_notification(&mut self) -> &mut Self
Trait Implementations§
source§impl Clone for ForwardMessage
impl Clone for ForwardMessage
source§fn clone(&self) -> ForwardMessage
fn clone(&self) -> ForwardMessage
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 moresource§impl Debug for ForwardMessage
impl Debug for ForwardMessage
source§impl PartialEq<ForwardMessage> for ForwardMessage
impl PartialEq<ForwardMessage> for ForwardMessage
source§fn eq(&self, other: &ForwardMessage) -> bool
fn eq(&self, other: &ForwardMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ForwardMessage> for ForwardMessage
impl PartialOrd<ForwardMessage> for ForwardMessage
source§fn partial_cmp(&self, other: &ForwardMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &ForwardMessage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more