Enum telegram::schema::InputPeer []

pub enum InputPeer {
    inputPeerEmpty,
    inputPeerSelf,
    inputPeerContact {
        user_id: i32,
    },
    inputPeerForeign {
        user_id: i32,
        access_hash: i64,
    },
    inputPeerChat {
        chat_id: i32,
    },
}

Variants

Fields of inputPeerContact

Fields of inputPeerForeign

Fields of inputPeerChat

Trait Implementations

impl Debug for InputPeer
[src]

Formats the value using the given formatter.

impl Serialize for InputPeer

Serialize to the passed buffer.