GetLanguagePackString class

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.

Returns LanguagePackStringValue.

Inheritance
Available Extensions

Constructors

GetLanguagePackString({required String language_pack_database_path, required String localization_target, required String language_pack_id, required String key, int? extra, int? clientId})
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

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
key String
Language pack key of the string to be returned.
read / write
language_pack_database_path String
Path to the language pack database in which strings are stored.
read / write
language_pack_id String
Language pack identifier.
read / write
localization_target String
Localization target to which the language pack belongs.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) GetLanguagePackString?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getLanguagePackString"