Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrotoledo committed Aug 17, 2015
2 parents a8fd6b5 + 53f5911 commit 80371c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ sendAudio Yes
sendDocument Yes
sendSticker Yes
sendVideo Yes
sendVoice Yes
sendLocation Yes
sendChatAction Yes
getUpdates Yes
Expand Down Expand Up @@ -194,9 +195,9 @@ To post an image file via URL (right now only sendPhoto supports this)::

>>> bot.sendPhoto(chat_id=chat_id, photo='https://telegram.org/img/t_logo.png')

To post an audio file::
To post a voice file::

>>> bot.sendAudio(chat_id=chat_id, audio=open('tests/telegram.ogg', 'rb'))
>>> bot.sendVoice(chat_id=chat_id, voice=open('tests/telegram.ogg', 'rb'))

To tell the user that something is happening on bot's side::

Expand Down

0 comments on commit 80371c9

Please sign in to comment.