Skip to content

AccountInfo

Type · TDLib 1.8.67 · d1085f9c

Contains basic information about another user who started a chat with the current user

AccountInfo(
  registration_month: int32,
  registration_year: int32,
  phone_number_country_code: string,
  last_name_change_date: int32,
  last_photo_change_date: int32
) → AccountInfo

registration_month

int32

Month when the user was registered in Telegram; 0-12; may be 0 if unknown

registration_year

int32

Year when the user was registered in Telegram; 0-9999; may be 0 if unknown

phone_number_country_code

string

A two-letter ISO 3166-1 alpha-2 country code based on the phone number of the user; may be empty if unknown

last_name_change_date

int32

Point in time (Unix timestamp) when the user changed name last time; 0 if unknown

last_photo_change_date

int32

Point in time (Unix timestamp) when the user changed photo last time; 0 if unknown