diff --git a/docs/source/telegram.rst b/docs/source/telegram.rst index bcfe19659..6f5a1941e 100644 --- a/docs/source/telegram.rst +++ b/docs/source/telegram.rst @@ -29,6 +29,7 @@ Submodules telegram.user telegram.userprofilephotos telegram.video + telegram.voice Module contents --------------- diff --git a/docs/source/telegram.voice.rst b/docs/source/telegram.voice.rst new file mode 100644 index 000000000..052886b8e --- /dev/null +++ b/docs/source/telegram.voice.rst @@ -0,0 +1,7 @@ +telegram.voice module +===================== + +.. automodule:: telegram.voice + :members: + :undoc-members: + :show-inheritance: diff --git a/telegram/inputfile.py b/telegram/inputfile.py index acf1119ac..5d2d00fba 100644 --- a/telegram/inputfile.py +++ b/telegram/inputfile.py @@ -139,7 +139,8 @@ class InputFile(object): @staticmethod def is_inputfile(data): - """Check if the request is a file request + """Check if the request is a file request. + Args: data: A dict of (str, unicode) key/value pairs