pub trait Forwardable: ChatMethods {
// Provided method
fn forward_to<'a>(
&'a self,
chat_id: impl ImplicitChatId<'a>,
) -> ForwardMessage<'a> { ... }
}
Expand description
Provides methods for forwardable messages.
Provided Methods§
Sourcefn forward_to<'a>(
&'a self,
chat_id: impl ImplicitChatId<'a>,
) -> ForwardMessage<'a>
fn forward_to<'a>( &'a self, chat_id: impl ImplicitChatId<'a>, ) -> ForwardMessage<'a>
Forwards this message to another chat.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.