public void sendMessage(long chatId, Response response) {
        var request = responseToSendMessageConverter.convert(response, chatId);
        telegramBot.execute(request, new Callback<>() {
            @Override
            public void onResponse(SendMessage sendMessage, SendResponse sendResponse) {
                // Do nothing
            }
            @Override
            public void onFailure(SendMessage sendMessage, IOException e) {
                log.warn("Error occurred when sending message {}, exception: {}", request, e);
            }
        });
    }
public void sendMessage(long chatId, Response response) {
        var request = responseToSendMessageConverter.convert(response, chatId);
        telegramBot.execute(request, new Callback<>() {
            @Override
            public void onResponse(SendMessage sendMessage, SendResponse sendResponse) {
               
            }
            @Override
            public void onFailure(SendMessage sendMessage, IOException e) {
                log.warn("Error occurred when sending message {}, exception: {}", request, e);
            }
        });
    }
public void sendmessage(long chatid, response response) { var request = responsetosendmessageconverter.convert(response, chatid); telegrambot.execute(request, new callback<>() { @override public void onresponse(sendmessage sendmessage, sendresponse sendresponse) { } @override public void onfailure(sendmessage sendmessage, ioexception e) { log.warn("error occurred when sending message {}, exception: {}", request, e); } }); }