Struct wdg_telegram_types::User [] [src]

pub struct User {
    pub _id: i32,
    pub _is_bot: bool,
    pub _first_name: String,
    pub _last_name: Option<String>,
    pub _username: Option<String>,
    pub _language_code: Option<String>,
}

This object represents a Telegram user or bot.

Fields

Unique identifier for this user or bot

True, if this user is a bot

User‘s or bot’s first name

Optional. User‘s or bot’s last name

Optional. User‘s or bot’s username

Optional. IETF language tag of the user's language