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
_id: i32
Unique identifier for this user or bot
_is_bot: bool
True, if this user is a bot
_first_name: String
User‘s or bot’s first name
_last_name: Option<String>
Optional. User‘s or bot’s last name
_username: Option<String>
Optional. User‘s or bot’s username
_language_code: Option<String>
Optional. IETF language tag of the user's language