GetLanguagePackStrings

public struct GetLanguagePackStrings : Codable, Equatable, TDFunction

Returns strings from a language pack in the current localization target by their keys. Can be called before authorization

  • Undocumented

    Declaration

    Swift

    public typealias Result = LanguagePackStrings
  • Language pack identifier of the strings to be returned

    Declaration

    Swift

    public let languagePackId: String
  • Language pack keys of the strings to be returned; leave empty to request all available strings

    Declaration

    Swift

    public let keys: [String]
  • Returns strings from a language pack in the current localization target by their keys. Can be called before authorization

    Declaration

    Swift

    public init(languagePackId: String, keys: [String])

    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