Struct telegram_typings::User [] [src]

pub struct User {
    pub id: i64,
    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

User‘s or bot’s last name

User‘s or bot’s username

IETF language tag of the user's language See https://en.wikipedia.org/wiki/IETF_language_tag

Trait Implementations

impl Debug for User
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for User
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for User

impl Sync for User