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