X Tutup
Skip to content

Commit d487014

Browse files
committed
Add telegram.voice to docs and minor docstring fixes python-telegram-bot#39
1 parent 6e2881b commit d487014

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

docs/source/telegram.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Submodules
2929
telegram.user
3030
telegram.userprofilephotos
3131
telegram.video
32+
telegram.voice
3233

3334
Module contents
3435
---------------

docs/source/telegram.voice.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
telegram.voice module
2+
=====================
3+
4+
.. automodule:: telegram.voice
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

telegram/inputfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ def is_image(stream):
139139

140140
@staticmethod
141141
def is_inputfile(data):
142-
"""Check if the request is a file request
142+
"""Check if the request is a file request.
143+
143144
Args:
144145
data:
145146
A dict of (str, unicode) key/value pairs

0 commit comments

Comments
 (0)
X Tutup