From 69316a7c0619d219c31a3bad5303f8f1adcc0db0 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Fri, 19 May 2017 22:12:06 +0300 Subject: [PATCH] Add all methods names --- aiogram/api.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/aiogram/api.py b/aiogram/api.py index 5aae1c92..ccfb5cb9 100644 --- a/aiogram/api.py +++ b/aiogram/api.py @@ -51,4 +51,30 @@ async def request(session, token, method, data=None): class ApiMethods: GET_ME = 'getMe' + SEND_MESSAGE = 'sendMessage' + FORWARD_MESSAGE = 'forwardMessage' + SEND_PHOTO = 'sendPhoto' + SEND_AUDIO = 'sendAudio' + SEND_DOCUMENT = 'sendDocument' + SEND_STICKER = 'sendSticker' + SEND_VIDEO = 'sendVideo' + SEND_VOICE = 'sendVoice' + SEND_VIDEO_NOTE = 'sendVideoNote' + SEND_LOCATION = 'sendLocation' + SEND_VENUE = 'sendVenue' + SEND_CONTACT = 'sendContact' + SEND_CHAT_ACTION = 'sendChatAction' + GET_USER_PROFILE_PHOTOS = 'getUserProfilePhotos' + GET_FILE = 'getFile' + KICK_CHAT_MEMBER = 'kickChatMember' + UNBAN_CHAT_MEMBER = 'unbanChatMember' + LEAVE_CHAT = 'leaveChat' GET_CHAT = 'getChat' + GET_CHAT_ADMINISTRATORS = 'getChatAdministrators' + GET_CHAT_MEMBERS_COUNT = 'getChatMembersCount' + GET_CHAT_MEMBER = 'getChatMember' + ANSWER_CALLBACK_QUERY = 'answerCallbackQuery' + EDIT_MESSAGE_TEXT = 'editMessageText' + EDIT_MESSAGE_CAPTION = 'editMessageCaption' + EDIT_MESSAGE_REPLY_MARKUP = 'editMessageReplyMarkup' + DELETE_MESSAGE = 'deleteMessage'