sendReturning

inline suspend fun sendReturning(to: String, via: TelegramBot): Deferred<Response<out ReturnType>>

Make a request for action returning its Response.

Parameters

to

Recipient

via

Instance of the bot through which the request will be made.


inline suspend fun sendReturning(to: Long, via: TelegramBot): Deferred<Response<out ReturnType>>
inline suspend fun sendReturning(to: User, via: TelegramBot): Deferred<Response<out ReturnType>>
inline suspend fun sendReturning(to: Chat, via: TelegramBot): Deferred<Response<out ReturnType>>