From f312f1cc0715f0d62fe02c2fd929923faff64091 Mon Sep 17 00:00:00 2001 From: c0re100 Date: Sun, 6 Feb 2022 11:26:42 +0800 Subject: [PATCH] Update README.md --- README.md | 5 +++-- example/README.md | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6769d2..c85c56f 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ I realized that zelenin's library doesn't meet my need😕 So I fork it and make some changes 1. Static build by default -2. Add update event filter -3. Add command parser +2. Add update [event filter](example#event-filter) +3. Add [command](example#command) parser 4. Receive correct message id to patch text/dice message response. +5. Add [Pending updates](example#pending-updates) [Here](example) are a few example codes about how to use **c0re100/gotdlib**. \ No newline at end of file diff --git a/example/README.md b/example/README.md index 5635bf4..de351ba 100644 --- a/example/README.md +++ b/example/README.md @@ -13,5 +13,10 @@ So we need to filter update events, like UpdateNewMessage, UpdateMessageSendSucc ### Media Send photo or album to chat. +### Pending updates +When starting a bot, we may have some updates that are missed to process when a listener IS NOT ready. + +So we need to keep specific update types in memory until a listener is set, then we can process those updates again. + ### Raw Update Get update without event filter. \ No newline at end of file