Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUser

This object represents a Telegram user or bot.

Hierarchy

  • IUser

Index

Properties

can_join_groups?: boolean

Optional. True, if the bot can be invited to groups. Returned only in getMe.

can_read_all_group_messages?: boolean

Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.

first_name: string

User's or bot's first name

id: number

Unique identifier for this user or bot.

is_bot: boolean

True, if this user is a bot

language_code?: string

Optional. IETF language tag of the user's language

last_name?: string

Optional. User's or bot's last name

supports_inline_queries?: boolean

Optional. True, if the bot supports inline queries. Returned only in getMe.

username?: string

Optional. User's or bot's username

Generated using TypeDoc