Updating README

This commit is contained in:
Leandro Toledo 2015-07-10 22:31:04 -03:00
parent b0c5a714c2
commit cca4fc0252

View file

@ -115,7 +115,11 @@ To post an Emoji (special thanks to `Tim Whitlock <http://apps.timwhitlock.info/
>>> bot.sendMessage(chat_id=chat_id, text=telegram.Emoji.PILE_OF_POO)
To post a audio file::
To post an image file via URL::
>>> bot.sendPhoto(chat_id=chat_id, photo='https://telegram.org/img/t_logo.png')
To post an audio file::
>>> bot.sendAudio(chat_id=chat_id, audio=open('tests/telegram.ogg', 'rb'))