Update README.md
This commit is contained in:
parent
f36c0db78b
commit
f312f1cc07
|
@ -7,8 +7,9 @@ I realized that zelenin's library doesn't meet my need😕
|
||||||
So I fork it and make some changes
|
So I fork it and make some changes
|
||||||
|
|
||||||
1. Static build by default
|
1. Static build by default
|
||||||
2. Add update event filter
|
2. Add update [event filter](example#event-filter)
|
||||||
3. Add command parser
|
3. Add [command](example#command) parser
|
||||||
4. Receive correct message id to patch text/dice message response.
|
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**.
|
[Here](example) are a few example codes about how to use **c0re100/gotdlib**.
|
|
@ -13,5 +13,10 @@ So we need to filter update events, like UpdateNewMessage, UpdateMessageSendSucc
|
||||||
### Media
|
### Media
|
||||||
Send photo or album to chat.
|
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
|
### Raw Update
|
||||||
Get update without event filter.
|
Get update without event filter.
|
Loading…
Reference in a new issue