testCallBytes - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / testCallBytes

testCallBytes

suspend fun TelegramFlow.testCallBytes(x: ByteArray?): TestBytes

Suspend function, which returns the received bytes; for testing only. This is an offline method. Can be called before authorization.

Parameters

x - Bytes to return.

Return TestBytes A simple object containing a sequence of bytes; for testing only.