send

suspend fun send(to: String, via: TelegramBot)

Make a request for action.

Parameters

to

Recipient

via

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


suspend fun send(to: Long, via: TelegramBot)
inline suspend fun send(to: User, via: TelegramBot)
inline suspend fun send(to: Chat, via: TelegramBot)