Class TdApi.GetLanguagePackStrings

  • Enclosing class:
    TdApi

    public static class TdApi.GetLanguagePackStrings
    extends TdApi.Function
    Returns strings from a language pack in the current localization target by their keys. Can be called before authorization.

    Returns LanguagePackStrings

    • Field Detail

      • languagePackId

        public String languagePackId
        Language pack identifier of the strings to be returned.
      • keys

        public String[] keys
        Language pack keys of the strings to be returned; leave empty to request all available strings.
      • CONSTRUCTOR

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

      • GetLanguagePackStrings

        public GetLanguagePackStrings()
        Default constructor for a function, which returns strings from a language pack in the current localization target by their keys. Can be called before authorization.

        Returns LanguagePackStrings

      • GetLanguagePackStrings

        public GetLanguagePackStrings​(String languagePackId,
                                      String[] keys)
        Creates a function, which returns strings from a language pack in the current localization target by their keys. Can be called before authorization.

        Returns LanguagePackStrings

        Parameters:
        languagePackId - Language pack identifier of the strings to be returned.
        keys - Language pack keys of the strings to be returned; leave empty to request all available strings.