summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index d17acb2..7e7af57 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# tgbot-cpp
-
-[![Join the chat at https://gitter.im/reo7sp/tgbot-cpp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reo7sp/tgbot-cpp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+
+[![Join the chat at https://gitter.im/reo7sp/tgbot-cpp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reo7sp/tgbot-cpp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
C++ library for Telegram bot API.
@@ -29,6 +29,9 @@ That's all. All you have to do now is just link compiled library to your project
Simple echo bot which sends everything it recieves:
```cpp
+#include <stdio.h>
+#include <tgbot/tgbot.h>
+
int main() {
TgBot::Bot bot("PLACE YOUR TOKEN HERE");
bot.getEvents().onCommand("start", [&bot](Message::Ptr message) {