Class TdApi.GetCountryCode

  • Enclosing class:
    TdApi

    public static class TdApi.GetCountryCode
    extends TdApi.Function
    Uses current user IP to found his country. Returns two-letter ISO 3166-1 alpha-2 country code. Can be called before authorization.

    Returns Text

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetCountryCode()
      Default constructor.
    • 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.