api.setCustomLanguagePackString()
Adds, edits or deletes a string in a custom local language pack. Can be called before authorization
Parameters
SetCustomLanguagePackStringParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
languagePackId | string | Identifier of a previously added custom local language pack in the current localization target |
newString | New language pack string |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'setCustomLanguagePackString' | 'error'
airgram: Airgram
request: {
method: 'setCustomLanguagePackString'
params: SetCustomLanguagePackStringParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}