From 2571ffb7cb6c4abc22cb2e31428568c68574e87f Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 24 Jan 2021 13:25:25 +0100 Subject: [PATCH] Update README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7218ede..f5e2012 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,10 @@ public class Example { Init.start(); // Create a client - TelegramClient client = ClientManager.create(Example::onUpdate, Example::onUpdateError, Example::onError); + TelegramClient client = ClientManager.create(); + + // Initialize the client + client.initialize(Example::onUpdate, Example::onUpdateError, Example::onError); // Here you can use the client.