toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.interfaces.action
/
Action
/
send
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
)