Trait tbot::contexts::methods::Forwardable
source · pub trait Forwardable: Message {
fn forward_to(&self, chat_id: impl ImplicitChatId) -> ForwardMessage<'_> { ... }
}
Expand description
Provides methods for forwardable messages.
Provided Methods§
sourcefn forward_to(&self, chat_id: impl ImplicitChatId) -> ForwardMessage<'_>
fn forward_to(&self, chat_id: impl ImplicitChatId) -> ForwardMessage<'_>
Forwards this message to another chat.