testSquareInt - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / testSquareInt

testSquareInt

suspend fun TelegramFlow.testSquareInt(x: Int): TestInt

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

Parameters

x - Number to square.

Return TestInt A simple object containing a number; for testing only.