Enum telegram::schema::InputUser []

pub enum InputUser {
    inputUserEmpty,
    inputUserSelf,
    inputUserContact {
        user_id: i32,
    },
    inputUserForeign {
        user_id: i32,
        access_hash: i64,
    },
}

Variants

Fields of inputUserContact

Fields of inputUserForeign

Trait Implementations

impl Debug for InputUser
[src]

Formats the value using the given formatter.

impl Serialize for InputUser

Serialize to the passed buffer.