saveApplicationLogEvent - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


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.