From b0eee21730a63406d9d1ddcdda9a0a1f87af7564 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 6 May 2018 13:20:29 +0200 Subject: [PATCH] Update examples README.md --- examples/README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/README.md b/examples/README.md index 298d9d20..0d8759a0 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,19 +1,19 @@ # Examples This folder contains example scripts to show you how **Pyrogram** looks like. -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. Every script is working right away (provided you correctly set up your credentials), meaning -you can simply copy-paste and run, the only things you have to change are your session names and the target chats. +you can simply copy-paste and run. The only things you have to change are session names and target chats. -- [**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) -- [**callback_query_handler.py**](callback_query_handler.py) -- [**raw_update_handler.py**](raw_update_handler.py) +Example | Description +---: | :--- +[**hello_world**](hello_world.py) | Demonstration of basic API usages +[**echo_bot**](echo_bot.py) | Echo bot that replies to every private text message +[**welcome_bot**](welcome_bot.py) | The Welcome Bot source code in [@PyrogramChat](https://t.me/pyrogramchat) +[**get_history**](get_history.py) | How to retrieve the full message history of a chat +[**get_participants**](get_participants.py) | How to get the first 10.000 members of a supergroup/channel +[**get_participants2**](get_participants2.py) | Improved version to get more than 10.000 users +[**query_inline_bots**](query_inline_bots.py) | How to query an inline bot and send a result to a chat +[**send_bot_keyboards**](send_bot_keyboards.py) | How to send normal and inline keyboards using regular bots +[**callback_query_handler**](callback_query_handler.py) | How to handle queries coming from inline button presses +[**raw_update_handler**](raw_update_handler.py) | How to handle raw updates (old, should be avoided)