Class TdApi.GetCountryCode

  • Enclosing class:
    TdApi

    public static class TdApi.GetCountryCode
    extends TdApi.Function
    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.

    Returns Text

    • Field Detail

      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetCountryCode

        public GetCountryCode()
        Default constructor for a function, which 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.

        Returns Text