17 lines
359 B
Markdown
17 lines
359 B
Markdown
|
## 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.
|