Fix send_photo

This commit is contained in:
Alex Root Junior 2017-05-26 10:53:33 +03:00
parent 3263a286e1
commit 3b40f2501e
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import logging
__version__ = '0.1b'
log = logging.getLogger('aiogram')
log = logging.getLogger(__name__)
API_URL = "https://api.telegram.org/bot{token}/{method}"
FILE_URL = "https://api.telegram.org/file/bot{token}/{file_id}"

View file

@ -91,7 +91,7 @@ class ApiMethods:
GET_WEBHOOK_INFO = 'getWebhookInfo' # TODO
SEND_MESSAGE = 'sendMessage'
FORWARD_MESSAGE = 'forwardMessage'
SEND_PHOTO = 'sendPhoto' # TODO
SEND_PHOTO = 'sendPhoto'
SEND_AUDIO = 'sendAudio' # TODO
SEND_DOCUMENT = 'sendDocument' # TODO
SEND_STICKER = 'sendSticker' # TODO