2018-02-26 17:10:58 +01:00
|
|
|
# Examples
|
|
|
|
|
|
|
|
This folder contains example scripts to show you how **Pyrogram** looks like.
|
2018-05-06 11:56:25 +02: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 16:22:20 +01:00
|
|
|
|
|
|
|
Every script is working right away (provided you correctly set up your credentials), meaning
|
2018-05-06 11:56:25 +02: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 17:10:58 +01:00
|
|
|
|
2018-05-06 12:53:29 +02:00
|
|
|
- [**hello_world.py**](hello_world.py)
|
|
|
|
- [**echo_bot.py**](echo_bot.py)
|
|
|
|
- [**welcome_bot.py**](welcome_bot.py)
|
|
|
|
- [**get_history.py**](get_history.py)
|
|
|
|
- [**get_participants.py**](get_participants.py)
|
|
|
|
- [**get_participants2.py**](get_participants2.py)
|
|
|
|
- [**query_inline_bots.py**](query_inline_bots.py)
|
|
|
|
- [**send_bot_keyboards.py**](send_bot_keyboards.py)
|
2018-05-06 13:03:37 +02:00
|
|
|
- [**callback_query_handler.py**](callback_query_handler.py)
|
2018-05-06 12:53:29 +02:00
|
|
|
- [**raw_update_handler.py**](raw_update_handler.py)
|