Enum telegram_bot::types::ForwardFrom [] [src]

pub enum ForwardFrom {
    User {
        user: User,
    },
    Channel {
        channel: Channel,
        message_id: i64,
    },
}

Information about the source of the original message.

Variants

Sender of the original message.

Fields of User

Sender of the original message.

For messages forwarded from a channel, information about the original channel.

Fields of Channel

Original channel.

Identifier of the original message in the channel

Trait Implementations

impl Clone for ForwardFrom
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ForwardFrom> for ForwardFrom
[src]

[src]

[src]

[src]

[src]

[src]

impl PartialEq<ForwardFrom> for ForwardFrom
[src]

[src]

[src]

impl Debug for ForwardFrom
[src]

[src]

Formats the value using the given formatter.

impl ToChatRef for ForwardFrom
[src]