Update README.md

This commit is contained in:
c0re100 2022-02-06 11:26:42 +08:00
parent f36c0db78b
commit f312f1cc07
No known key found for this signature in database
GPG key ID: 7C3B3004FE745AAF
2 changed files with 8 additions and 2 deletions

View file

@ -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**.

View file

@ -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.