Skip to content

PhoneNumberInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about a phone number

PhoneNumberInfo(
  country: CountryInfo,
  country_calling_code: string,
  formatted_phone_number: string,
  is_anonymous: Bool
) → PhoneNumberInfo

country

CountryInfo

Information about the country to which the phone number belongs; may be null

country_calling_code

string

The part of the phone number denoting country calling code or its part

formatted_phone_number

string

The phone number without country calling code formatted accordingly to local rules. Expected digits are returned as '-', but even more digits might be entered by the user

is_anonymous

Bool

True, if the phone number was bought at https://fragment.com and isn't tied to a SIM card. Information about the phone number can be received using getCollectibleItemInfo