Interface GetCountryCode

Uses the current IP address to find the current country. Returns two-letter ISO 3166-1 alpha-2 country code. Can be called before authorization. Request type for Tdjson#getCountryCode.

interface GetCountryCode {
    @type: "getCountryCode";
}

Properties

Properties

@type: "getCountryCode"