GetLanguagePackString class final

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

Constructors

GetLanguagePackString({required String languagePackDatabasePath, required String localizationTarget, required String languagePackId, required String key})
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
const

Properties

canBeCalledSynchronously → bool
Whether TDLib documents this request as callable through td_execute.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
key → String
Language pack key of the string to be returned
final
languagePackDatabasePath → String
Path to the language pack database in which strings are stored
final
languagePackId → String
Language pack identifier
final
localizationTarget → String
Localization target to which the language pack belongs
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? languagePackDatabasePath, String? localizationTarget, String? languagePackId, String? key}) → GetLanguagePackString
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
getConstructor() → String
TDLib function name, e.g. getMe.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) → Map<String, dynamic>
Converts this request to TDLib JSON, tagged with extra if given.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.