// TODO: 04/10/2020 Should be uni
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) {
// 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) {
// 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) {
// Do nothing
}
@Override
public void onFailure(SendMessage sendMessage, IOException e) {
log.warn("Error occurred when sending message {}, exception: {}", request, e);
}
});
}