libtd-ktx / kotlinx.telegram.core / TelegramFlow / sendFunctionLaunch
sendFunctionLaunch
suspend fun sendFunctionLaunch(function: Function): Unit
Sends a request to the TDLib and expect TdApi.Ok
Parameters
function - TdApi.Function representing a TDLib interface function-class.
Exceptions
TelegramException.Error - if TdApi request returns an exception
TelegramException.UnexpectedResult - if TdApi request returns an unexpected result
TelegramException.ClientNotAttached - if TdApi client has not attached yet