get_phone_number_info_sync_sync


Description:

public PhoneNumberInfo get_phone_number_info_sync_sync (string language_code, string phone_number_prefix) throws TDLibError

Returns information about a phone number by its prefix synchronously. Client.get_countries must be called at least once after changing localization to the specified language if properly localized country information is expected. Can be called synchronously

Parameters:

language_code

A two-letter ISO 639-1 language code for country information localization

phone_number_prefix

The phone number prefix