You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-5Lines changed: 27 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,7 @@ The downloaded code can be included as a new library into the IDE selecting the
24
24
25
25
Sketch / include Library / Add .Zip library
26
26
27
-
You also have to install the ArduinoJson library written by [Benoît Blanchon](https://github.com/bblanchon).
28
-
Available [here](https://github.com/bblanchon/ArduinoJson).
27
+
You also have to install the ArduinoJson library written by [Benoît Blanchon](https://github.com/bblanchon). Search for it on the Arduino Library manager or get it from [here](https://github.com/bblanchon/ArduinoJson).
29
28
30
29
Include UniversalTelegramBot in your project:
31
30
@@ -34,7 +33,8 @@ Include UniversalTelegramBot in your project:
34
33
and pass it a Bot token and a SSL Client (See the examples for more details)
Send a keyboard to the specified chat_id. parse_mode can be left blank. Will return true if the message sends successfully. See the CustomKeyboard example for more details.
67
+
68
+
#### getUpdates
69
+
70
+
int getUpdates(long offset);
71
+
72
+
Gets any pending messages from Telegram and stores them in bot.messages . Offset should be set to bot.last_message_recived + 1. Returns the numbers new messages received. See any of the examples for recommended usage.
73
+
50
74
51
75
## Examples
52
76
@@ -56,8 +80,6 @@ Here are listed some examples to help you to build your own Bot:
56
80
57
81
- FlashLedBot : Reacts to your command switching ON/OFF a GPIO.
58
82
59
-
- EchoBotWithPost : same as EchoBot but using post to commincate with Telegram.
60
-
61
83
- CustomKeyboard : Same as FlashLedBot but also uses a replyKeyboard
0 commit comments