From b83d77c78d844385412ed9321d15dcaf60365952 Mon Sep 17 00:00:00 2001 From: Marcus Fihlon Date: Tue, 25 Jul 2017 14:44:41 +0200 Subject: [PATCH] :memo: Adding API context initialization to example code snippet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98e5ecce..4d4d04db 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Once done, you just need to create a `org.telegram.telegrambots.TelegramBotsApi` // Example taken from https://github.com/rubenlagus/TelegramBotsExample public class Main { public static void main(String[] args) { - + ApiContextInitializer.init(); TelegramBotsApi telegramBotsApi = new TelegramBotsApi(); try { telegramBotsApi.registerBot(new ChannelHandlers());