AddCustomServerLanguagePack

public struct AddCustomServerLanguagePack : Codable, Equatable, TDFunction

Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Identifier of a language pack to be added; may be different from a name that is used in an “https://t.me/setlanguage/” link

    Declaration

    Swift

    public let languagePackId: String
  • Adds a custom server language pack to the list of installed language packs in current localization target. Can be called before authorization

    Declaration

    Swift

    public init(languagePackId: String)

    Parameters

    languagePackId

    Identifier of a language pack to be added; may be different from a name that is used in an “https://t.me/setlanguage/” link