Skip to content

Commit b0eee21

Browse files
authored
Update examples README.md
1 parent 735dfb6 commit b0eee21

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

examples/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Examples
22

33
This folder contains example scripts to show you how **Pyrogram** looks like.
4-
You can start with [hello_world.py](https://github.com/pyrogram/pyrogram/blob/master/examples/hello_world.py)
5-
and continue with the more advanced examples.
64

75
Every script is working right away (provided you correctly set up your credentials), meaning
8-
you can simply copy-paste and run, the only things you have to change are your session names and the target chats.
6+
you can simply copy-paste and run. The only things you have to change are session names and target chats.
97

10-
- [**hello_world.py**](hello_world.py)
11-
- [**echo_bot.py**](echo_bot.py)
12-
- [**welcome_bot.py**](welcome_bot.py)
13-
- [**get_history.py**](get_history.py)
14-
- [**get_participants.py**](get_participants.py)
15-
- [**get_participants2.py**](get_participants2.py)
16-
- [**query_inline_bots.py**](query_inline_bots.py)
17-
- [**send_bot_keyboards.py**](send_bot_keyboards.py)
18-
- [**callback_query_handler.py**](callback_query_handler.py)
19-
- [**raw_update_handler.py**](raw_update_handler.py)
8+
Example | Description
9+
---: | :---
10+
[**hello_world**](hello_world.py) | Demonstration of basic API usages
11+
[**echo_bot**](echo_bot.py) | Echo bot that replies to every private text message
12+
[**welcome_bot**](welcome_bot.py) | The Welcome Bot source code in [@PyrogramChat](https://t.me/pyrogramchat)
13+
[**get_history**](get_history.py) | How to retrieve the full message history of a chat
14+
[**get_participants**](get_participants.py) | How to get the first 10.000 members of a supergroup/channel
15+
[**get_participants2**](get_participants2.py) | Improved version to get more than 10.000 users
16+
[**query_inline_bots**](query_inline_bots.py) | How to query an inline bot and send a result to a chat
17+
[**send_bot_keyboards**](send_bot_keyboards.py) | How to send normal and inline keyboards using regular bots
18+
[**callback_query_handler**](callback_query_handler.py) | How to handle queries coming from inline button presses
19+
[**raw_update_handler**](raw_update_handler.py) | How to handle raw updates (old, should be avoided)

0 commit comments

Comments
 (0)