Struct telebot::objects::User [] [src]

pub struct User {
    pub id: Integer,
    pub first_name: String,
    pub last_name: Option<String>,
    pub username: Option<String>,
}

This object represents a Telegram user or bot.

Fields

Trait Implementations

impl Debug for User
[src]

Formats the value using the given formatter.

impl Clone for User
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more