Interface GetLanguagePackString

Returns a string stored in the local database from the specified localization target and language pack by its key. Returns a 404 error if the string is not found. Can be called synchronously. Request type for Tdjson#getLanguagePackString.

interface GetLanguagePackString {
    @type: "getLanguagePackString";
    key: string;
    language_pack_database_path: string;
    language_pack_id: string;
    localization_target: string;
}

Properties

@type: "getLanguagePackString"
key: string

Language pack key of the string to be returned.

language_pack_database_path: string

Path to the language pack database in which strings are stored.

language_pack_id: string

Language pack identifier.

localization_target: string

Localization target to which the language pack belongs.