api.addNetworkStatistics()
Adds the specified data to data usage statistics. Can be called before authorization
Parameters
AddNetworkStatisticsParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
entry | The network statistics entry with the data to be added to statistics |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'addNetworkStatistics' | 'error'
airgram: Airgram
request: {
method: 'addNetworkStatistics'
params: AddNetworkStatisticsParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}