From 29a3c4c24b8b9616485d96e8a7474148c99386a3 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Fri, 19 May 2017 23:42:40 +0300 Subject: [PATCH] Update methods list --- aiogram/api.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aiogram/api.py b/aiogram/api.py index ccfb5cb9..77547636 100644 --- a/aiogram/api.py +++ b/aiogram/api.py @@ -51,6 +51,10 @@ async def request(session, token, method, data=None): class ApiMethods: GET_ME = 'getMe' + GET_UPDATES = 'getUpdates' + SET_WEBHOOK = 'setWebhook' + DELETE_WEBHOOK = 'deleteWebhook' + GET_WEBHOOK_INFO = 'getWebhookInfo' SEND_MESSAGE = 'sendMessage' FORWARD_MESSAGE = 'forwardMessage' SEND_PHOTO = 'sendPhoto' @@ -77,4 +81,4 @@ class ApiMethods: EDIT_MESSAGE_TEXT = 'editMessageText' EDIT_MESSAGE_CAPTION = 'editMessageCaption' EDIT_MESSAGE_REPLY_MARKUP = 'editMessageReplyMarkup' - DELETE_MESSAGE = 'deleteMessage' + DELETE_MESSAGE = 'deleteMessage' \ No newline at end of file