api.saveApplicationLogEvent()
Saves application log event on the server. Can be called before authorization
Parameters
SaveApplicationLogEventParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
type | string | Event type |
chatId | number | Optional chat identifier, associated with the event |
data | The log event data |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'saveApplicationLogEvent' | 'error'
airgram: Airgram
request: {
method: 'saveApplicationLogEvent'
params: SaveApplicationLogEventParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}