User
addedToAttachmentMenu
Type: boolean
, optional
True, if this user added the bot to the attachment menu.
allowsWriteToPm
Type: boolean
, optional
True, if this user allowed the bot to message them.
firstName
Type: string
First name of the user or bot.
id
Type: number
A unique identifier for the user or bot.
isBot
Type: boolean
, optional
True, if this user is a bot. Returned in the receiver
field only.
isPremium
Type: boolean
, optional
True, if this user is a Telegram Premium user.
lastName
Type: string
, optional
Last name of the user or bot.
languageCode
Type: string
, optional
IETF language tag of the user's language. Returns in user field only.
photoUrl
Type: string
, optional
URL of the user’s profile photo. The photo can be in .jpeg or .svg formats. Only returned for Web Apps launched from the attachment menu.
username
Type: string
, optional
Username of the user or bot.