Skip to content

save application log event

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.coroutines / saveApplicationLogEvent

saveApplicationLogEvent

suspend fun TelegramFlow.saveApplicationLogEvent(type: String?, chatId: Long, data: JsonValue?): Unit

Suspend function, which saves application log event on the server. Can be called before authorization.

Parameters

type - Event type.

chatId - Optional chat identifier, associated with the event.

data - The log event data.

Clone this wiki locally