You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+2-12Lines changed: 2 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -117,21 +117,11 @@ Learning by example
117
117
118
118
We believe that the best way to learn and understand this simple package is by example. So here
119
119
are some examples for you to review. Even if it's not your approach for learning, please take a
120
-
look at ``echobot2`` (below), it is de facto the base for most of the bots out there. Best of all,
120
+
look at ``echobot2``, it is de facto the base for most of the bots out there. Best of all,
121
121
the code for these examples are released to the public domain, so you can start by grabbing the
122
122
code and building on top of it.
123
123
124
-
- `echobot2 <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/echobot2.py>`_ replies back messages.
125
-
126
-
- `inlinebot <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/inlinebot.py>`_ basic example of an `inline bot <https://core.telegram.org/bots/inline>`_.
127
-
128
-
- `conversationbot <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/conversationbot.py>`_ uses the `ConversationHandler <https://pythonhosted.org/python-telegram-bot/telegram.ext.conversationhandler.html>`_ to have multipart conversations (modeled as a finite-state machine) with individual users.
129
-
130
-
- `timerbot <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/timerbot.py>`_ uses the `JobQueue <https://pythonhosted.org/python-telegram-bot/telegram.ext.jobqueue.html>`_ to send timed messages.
131
-
132
-
- `echobot <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/legacy/echobot.py>`_ uses only the pure API to echo messages.
133
-
134
-
Look at the examples on the `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Examples>`_ to see other bots the community has built.
124
+
Visit `this page <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/README.md>`_ to discover the official examples or look at the examples on the `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Examples>`_ to see other bots the community has built.
0 commit comments