User
This object represents a Telegram user or bot.
Properties
id
id: number;
Unique identifier for this user or bot.
is_bot
is_bot: boolean;
True, if this user is a bot
first_name
first_name: string;
User’s or bot’s first name
last_name
last_name?: string;
User’s or bot’s last name
username
username?: string;
User’s or bot’s username
language_code
language_code?: string;
IETF language tag of the user’s language
is_premium
is_premium?: true;
True, if this user is a Telegram Premium user
added_to_attachment_menu
added_to_attachment_menu?: true;
True, if this user added the bot to the attachment menu