Add telegram.voice to docs and minor docstring fixes #39

This commit is contained in:
Leandro Toledo 2015-08-17 11:40:21 -03:00
parent 6e2881b31b
commit d4870148c7
3 changed files with 10 additions and 1 deletions

View file

@ -29,6 +29,7 @@ Submodules
telegram.user telegram.user
telegram.userprofilephotos telegram.userprofilephotos
telegram.video telegram.video
telegram.voice
Module contents Module contents
--------------- ---------------

View file

@ -0,0 +1,7 @@
telegram.voice module
=====================
.. automodule:: telegram.voice
:members:
:undoc-members:
:show-inheritance:

View file

@ -139,7 +139,8 @@ class InputFile(object):
@staticmethod @staticmethod
def is_inputfile(data): def is_inputfile(data):
"""Check if the request is a file request """Check if the request is a file request.
Args: Args:
data: data:
A dict of (str, unicode) key/value pairs A dict of (str, unicode) key/value pairs