[][src]Struct tg_botapi::methods::ForwardMessage

pub struct ForwardMessage {
    pub chat_id: ChatId,
    pub from_chat_id: ChatId,
    pub disable_notification: Option<bool>,
    pub message_id: i64,
}

Fields

chat_id: ChatIdfrom_chat_id: ChatIddisable_notification: Option<bool>message_id: i64

Methods

impl ForwardMessage[src]

pub fn new(
    chat_id: impl Into<ChatId>,
    from_chat_id: impl Into<ChatId>,
    message_id: i64
) -> ForwardMessage
[src]

Trait Implementations

impl TgMethod for ForwardMessage[src]

impl Debug for ForwardMessage[src]

impl Serialize for ForwardMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<'a, T> Captures<'a> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]