Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Docs update #728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Jul 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ec27145
Base-dir
Eldinnie Jun 26, 2017
eae8f5e
Bot
Eldinnie Jun 26, 2017
cb12419
Fix tests
Eldinnie Jun 27, 2017
bf36f8f
Games
Eldinnie Jun 27, 2017
c81ca52
Payment
Eldinnie Jun 27, 2017
582cdb6
Inline
Eldinnie Jun 27, 2017
be79d3e
Files
Eldinnie Jun 28, 2017
0a844ea
CallbackQueryHandler
Eldinnie Jun 28, 2017
6cabaa6
Handlers
Eldinnie Jul 18, 2017
51de9a3
Merge 'origin/master' 3.1
Eldinnie Jul 18, 2017
7372dd1
Ext
Eldinnie Jul 19, 2017
c1b98d6
added ChatPhoto and VideoNote to toctree
Eldinnie Jul 19, 2017
04aaee6
Add reference to max message length constant to text sending methods
Eldinnie Jul 19, 2017
a442f55
styleguide
Eldinnie Jul 22, 2017
1fd9d76
Merge remote-tracking branch 'origin/master' into docs_update
Eldinnie Jul 22, 2017
1767477
structure and prettify docs rst
Eldinnie Jul 22, 2017
fbf763a
Addressing review by @bomJacob
Eldinnie Jul 22, 2017
f1e827a
Last comments by @bomjacob addressed
Eldinnie Jul 23, 2017
bf1218f
As discussed with @tsnoam
Eldinnie Jul 23, 2017
60b5f64
changes.rst
Eldinnie Jul 23, 2017
e539c4f
contains_masks
Eldinnie Jul 23, 2017
f0abcce
contains_masks
Eldinnie Jul 23, 2017
084c3cb
damngling comma
Eldinnie Jul 23, 2017
b07aa06
Merge remote-tracking branch 'origin/master' into docs_update
tsnoam Jul 23, 2017
0744d7a
last changes
Eldinnie Jul 23, 2017
685ccc3
Merge remote-tracking branch 'origin/docs_update' into docs_update
Eldinnie Jul 23, 2017
50a8829
Last and final push
Eldinnie Jul 23, 2017
4691a55
CHANGES: fix note about Botan
tsnoam Jul 23, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Changes
- Improved filters for user_id/username/chat.
- Internal restructure of files.
- Improved unitests.
- Fully support Bot API 3.2.
- Fully support Bot API 3.2
- Modified docstrings
- Remove deprecated ``telegram.Emoji``.
- Remove deprecated ``Botan`` import from ``utils``.
- Remove deprecated ``Botan`` import from ``utils`` (``Botan`` is still available through ``contrib``).
- Remove deprecated ``ReplyKeyboardHide``.
- Remove deprecated ``edit_message`` argument of `bot.set_game_score``.

Expand Down
3 changes: 3 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
Welcome to Python Telegram Bot's documentation!
===============================================

Below you can find the documentation for the python-telegram-bot library. except for the .ext package most of the
objects in the package reflect the types as defined by the `telegram bot api <https://core.telegram.org/bots/api>`_.

.. toctree::
telegram

Expand Down
7 changes: 3 additions & 4 deletions docs/source/telegram.animation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.animation module
=========================
telegram.Animation
==================

.. automodule:: telegram.animation
.. autoclass:: telegram.Animation
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.audio.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.audio module
=====================
telegram.Audio
==============

.. automodule:: telegram.audio
.. autoclass:: telegram.Audio
:members:
:undoc-members:
:show-inheritance:
7 changes: 0 additions & 7 deletions docs/source/telegram.base.rst

This file was deleted.

8 changes: 4 additions & 4 deletions docs/source/telegram.bot.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
telegram.bot module
===================
telegram.Bot
============

.. automodule:: telegram.bot
.. autoclass:: telegram.Bot
:members:
:show-inheritance:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.callbackgame.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.callbackgame module
============================
telegram.Callbackgame
=====================

.. automodule:: telegram.callbackgame
.. autoclass:: telegram.CallbackGame
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.callbackquery.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.callbackquery module
=============================
telegram.CallbackQuery
======================

.. automodule:: telegram.callbackquery
.. autoclass:: telegram.CallbackQuery
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.chat.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.chat module
=========================
telegram.Chat
=============

.. automodule:: telegram.chat
.. autoclass:: telegram.Chat
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.chataction.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.chataction module
==========================
telegram.ChatAction
===================

.. automodule:: telegram.chataction
.. autoclass:: telegram.ChatAction
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.chatmember.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.chatmember module
==========================
telegram.ChatMember
===================

.. automodule:: telegram.chatmember
.. autoclass:: telegram.ChatMember
:members:
:undoc-members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.chatphoto.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
telegram.ChatPhoto
==================

.. autoclass:: telegram.ChatPhoto
:members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.choseninlineresult.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.choseninlineresult module
==================================
telegram.ChosenInlineResult
===========================

.. automodule:: telegram.choseninlineresult
.. autoclass:: telegram.ChosenInlineResult
:members:
:undoc-members:
:show-inheritance:
3 changes: 1 addition & 2 deletions docs/source/telegram.constants.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.constants module
telegram.constants Module
=========================

.. automodule:: telegram.constants
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.contact.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.contact module
=======================
telegram.Contact
================

.. automodule:: telegram.contact
.. autoclass:: telegram.Contact
:members:
:undoc-members:
:show-inheritance:
6 changes: 3 additions & 3 deletions docs/source/telegram.contrib.botan.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
telegram.contrib.botan module
=============================
telegram.contrib.Botan
======================

.. automodule:: telegram.contrib.botan
.. autoclass:: telegram.contrib.Botan
:members:
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/telegram.contrib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ Module contents
:members:
:undoc-members:
:show-inheritance:
:noindex:
7 changes: 3 additions & 4 deletions docs/source/telegram.document.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.document module
========================
telegram.Document
=================

.. automodule:: telegram.document
.. autoclass:: telegram.Document
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.callbackqueryhandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.callbackqueryhandler module
========================================
telegram.ext.CallbackQueryHandler
=================================

.. automodule:: telegram.ext.callbackqueryhandler
.. autoclass:: telegram.ext.CallbackQueryHandler
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.choseninlineresulthandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.choseninlineresulthandler module
=============================================
telegram.ext.ChosenInlineResultHandler
======================================

.. automodule:: telegram.ext.choseninlineresulthandler
.. autoclass:: telegram.ext.ChosenInlineResultHandler
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.commandhandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.commandhandler module
==================================
telegram.ext.CommandHandler
===========================

.. automodule:: telegram.ext.commandhandler
.. autoclass:: telegram.ext.CommandHandler
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.conversationhandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.conversationhandler module
=======================================
telegram.ext.ConversationHandler
================================

.. automodule:: telegram.ext.conversationhandler
.. autoclass:: telegram.ext.ConversationHandler
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/telegram.ext.delayqueue.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
telegram.ext.DelayQueue
=======================

.. autoclass:: telegram.ext.DelayQueue
:members:
:show-inheritance:
:special-members:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.dispatcher.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.dispatcher module
==============================
telegram.ext.Dispatcher
=======================

.. automodule:: telegram.ext.dispatcher
.. autoclass:: telegram.ext.Dispatcher
:members:
:undoc-members:
:show-inheritance:
3 changes: 1 addition & 2 deletions docs/source/telegram.ext.filters.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.filters module
telegram.ext.filters Module
===========================

.. automodule:: telegram.ext.filters
:members:
:undoc-members:
:show-inheritance:
6 changes: 3 additions & 3 deletions docs/source/telegram.ext.handler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
telegram.ext.handler module
===========================
telegram.ext.Handler
====================

.. automodule:: telegram.ext.handler
.. autoclass:: telegram.ext.Handler
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.inlinequeryhandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.inlinequeryhandler module
======================================
telegram.ext.InlineQueryHandler
===============================

.. automodule:: telegram.ext.inlinequeryhandler
.. autoclass:: telegram.ext.InlineQueryHandler
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.jobqueue.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.jobqueue module
============================
telegram.ext.JobQueue
=====================

.. automodule:: telegram.ext.jobqueue
.. autoclass:: telegram.ext.JobQueue
:members:
:undoc-members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.messagehandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.messagehandler module
==================================
telegram.ext.MessageHandler
===========================

.. automodule:: telegram.ext.messagehandler
.. autoclass:: telegram.ext.MessageHandler
:members:
:undoc-members:
:show-inheritance:
8 changes: 4 additions & 4 deletions docs/source/telegram.ext.messagequeue.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
telegram.ext.messagequeue module
================================
telegram.ext.MessageQueue
=========================

.. automodule:: telegram.ext.messagequeue
.. autoclass:: telegram.ext.MessageQueue
:members:
:undoc-members:
:show-inheritance:
:special-members:
6 changes: 6 additions & 0 deletions docs/source/telegram.ext.precheckoutqueryhandler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
telegram.ext.PreCheckoutQueryHandler
====================================

.. autoclass:: telegram.ext.PreCheckoutQueryHandler
:members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.regexhandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.regexhandler module
================================
telegram.ext.RegexHandler
=========================

.. automodule:: telegram.ext.regexhandler
.. autoclass:: telegram.ext.RegexHandler
:members:
:undoc-members:
:show-inheritance:
24 changes: 11 additions & 13 deletions docs/source/telegram.ext.rst
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
telegram.ext package
====================

Submodules
----------

.. toctree::

telegram.ext.updater
telegram.ext.dispatcher
telegram.ext.filters
telegram.ext.jobqueue
telegram.ext.messagequeue
telegram.ext.delayqueue

Handlers
--------

.. toctree::

telegram.ext.handler
telegram.ext.callbackqueryhandler
telegram.ext.choseninlineresulthandler
telegram.ext.conversationhandler
telegram.ext.commandhandler
telegram.ext.inlinequeryhandler
telegram.ext.messagehandler
telegram.ext.messagequeue
telegram.ext.filters
telegram.ext.precheckoutqueryhandler
telegram.ext.regexhandler
telegram.ext.shippingqueryhandler
telegram.ext.stringcommandhandler
telegram.ext.stringregexhandler
telegram.ext.typehandler

Module contents
---------------

.. automodule:: telegram.ext
:members:
:undoc-members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.ext.shippingqueryhandler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
telegram.ext.ShippingQueryHandler
=================================

.. autoclass:: telegram.ext.ShippingQueryHandler
:members:
:show-inheritance:
7 changes: 3 additions & 4 deletions docs/source/telegram.ext.stringcommandhandler.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
telegram.ext.stringcommandhandler module
========================================
telegram.ext.StringCommandHandler
=================================

.. automodule:: telegram.ext.stringcommandhandler
.. autoclass:: telegram.ext.StringCommandHandler
:members:
:undoc-members:
:show-inheritance:
Loading