From dbc48e0d220107ac0887d21f2144665f4eea5aab Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Jul 2016 14:44:18 +0300 Subject: Telegram: fix juick link --- juick-api/src/main/java/com/juick/api/TelegramBotHook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-api/src/main/java') diff --git a/juick-api/src/main/java/com/juick/api/TelegramBotHook.java b/juick-api/src/main/java/com/juick/api/TelegramBotHook.java index e09c4021..aec5dab8 100644 --- a/juick-api/src/main/java/com/juick/api/TelegramBotHook.java +++ b/juick-api/src/main/java/com/juick/api/TelegramBotHook.java @@ -136,7 +136,7 @@ public class TelegramBotHook { } )); } - bot.execute(new SendMessage(c, msg), new Callback() { + bot.execute(telegramMessage, new Callback() { @Override public void onResponse(SendMessage request, SendResponse response) { logger.info("got response: " + response.message().toString()); -- cgit v1.2.3