api.reorderChatFilters()
Changes the order of chat filters
Parameters
ReorderChatFiltersParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatFilterIds | number[] | Identifiers of chat filters in the new correct order |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'reorderChatFilters' | 'error'
airgram: Airgram
request: {
method: 'reorderChatFilters'
params: ReorderChatFiltersParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}