mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-22 04:30:17 +01:00
Add some example code
This commit is contained in:
parent
82bdbff466
commit
7196ad9adc
9 changed files with 553 additions and 1 deletions
17
example/README.md
Normal file
17
example/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
## Example
|
||||
|
||||
### Bot
|
||||
Login to bot account.
|
||||
|
||||
### Command
|
||||
Handle user command and reply it.
|
||||
|
||||
### Event Filter
|
||||
Since we can have many update type in updates.
|
||||
So we need to filter update events, like UpdateNewMessage, UpdateMessageSendSucceeded, UpdateMessageSendFailed, etc.
|
||||
|
||||
### Media
|
||||
Send photo or album to chat.
|
||||
|
||||
### Raw Update
|
||||
Get update without event filter.
|
||||
Loading…
Add table
Add a link
Reference in a new issue