mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add all methods names
This commit is contained in:
parent
44c928ed47
commit
69316a7c06
1 changed files with 26 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue