api.getLanguagePackStrings()
Returns strings from a language pack in the current localization target by their keys. Can be called before authorization
Parameters
GetLanguagePackStringsParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
languagePackId | string | Language pack identifier of the strings to be returned |
keys | string[] | Language pack keys of the strings to be returned; leave empty to request all available strings |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getLanguagePackStrings' | 'error'
airgram: Airgram
request: {
method: 'getLanguagePackStrings'
params: GetLanguagePackStringsParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}