When trying to use any of those the bot does not respond or even throw any exception.
code:
val bot = Bot.createPolling(botName, token)
bot.onCommand("/img") { msg, _ ->
bot.sendPhoto(msg.chat.id, photo=File("media/image.png")) // This does nothing, no error, no message, no nothing.
bor.sendMessage(msg.chat.id, "this works") // This message gets sent without issue
}
When trying to use any of those the bot does not respond or even throw any exception.
code: