2018-02-26 16:10:58 +00:00
|
|
|
# Examples
|
|
|
|
|
|
|
|
This folder contains example scripts to show you how **Pyrogram** looks like.
|
2018-05-06 09:56:25 +00:00
|
|
|
You can start with [hello_world.py](https://github.com/pyrogram/pyrogram/blob/master/examples/hello_world.py)
|
|
|
|
and continue with the more advanced examples.
|
2018-03-22 15:22:20 +00:00
|
|
|
|
|
|
|
Every script is working right away (provided you correctly set up your credentials), meaning
|
2018-05-06 09:56:25 +00:00
|
|
|
you can simply copy-paste and run, the only things you have to change are your session names and the target chats.
|
2018-02-26 16:10:58 +00:00
|
|
|
|
2018-05-06 09:56:25 +00:00
|
|
|
- [**hello_world.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/hello_world.py)
|
2018-04-14 16:46:54 +00:00
|
|
|
- [**echo_bot.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/echo_bot.py)
|
2018-05-06 09:56:25 +00:00
|
|
|
- [**welcome_bot.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/welcome_bot.py)
|
2018-02-26 16:10:58 +00:00
|
|
|
- [**get_history.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/get_history.py)
|
|
|
|
- [**get_participants.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/get_participants.py)
|
2018-03-15 08:50:37 +00:00
|
|
|
- [**get_participants2.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/get_participants2.py)
|
2018-05-06 10:51:48 +00:00
|
|
|
- [**query_inline_bots.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/query_inline_bots.py)
|
|
|
|
- [**send_bot_keyboards.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/send_bot_keyboards.py)
|
2018-04-14 16:46:54 +00:00
|
|
|
- [**raw_update_handler.py**](https://github.com/pyrogram/pyrogram/blob/master/examples/raw_update_handler.py)
|