TelegramFlow.attachClient - libtd-ktx

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


libtd-ktx / kotlinx.telegram.core / TelegramFlow / attachClient

attachClient

fun attachClient(existingClient: Client? = null): Unit

Attach instance to the existing native Telegram client or create one

Parameters

existingClient - set an existing client to attach, null by default