diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index a741d9b0..8fd41a9d 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -32,7 +32,7 @@ from .client.types import ( Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User, UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, - InlineQuery + InlineQuery, InlineQueryResultArticle, InputTextMessageContent ) from .client import ( Client, ChatAction, ParseMode, Emoji, diff --git a/pyrogram/client/methods/bots/__init__.py b/pyrogram/client/methods/bots/__init__.py index 2d89c2fb..24cab1dd 100644 --- a/pyrogram/client/methods/bots/__init__.py +++ b/pyrogram/client/methods/bots/__init__.py @@ -17,6 +17,7 @@ # along with Pyrogram. If not, see . from .answer_callback_query import AnswerCallbackQuery +from .answer_inline_query import AnswerInlineQuery from .get_inline_bot_results import GetInlineBotResults from .request_callback_answer import RequestCallbackAnswer from .send_inline_bot_result import SendInlineBotResult @@ -24,6 +25,7 @@ from .send_inline_bot_result import SendInlineBotResult class Bots( AnswerCallbackQuery, + AnswerInlineQuery, GetInlineBotResults, RequestCallbackAnswer, SendInlineBotResult diff --git a/pyrogram/client/types/__init__.py b/pyrogram/client/types/__init__.py index fe8b8b65..45690b90 100644 --- a/pyrogram/client/types/__init__.py +++ b/pyrogram/client/types/__init__.py @@ -18,7 +18,8 @@ from .bots import ( CallbackQuery, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup, - KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery + KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery, + InlineQueryResultArticle ) from .bots import ( ForceReply, InlineKeyboardButton, InlineKeyboardMarkup, @@ -26,7 +27,7 @@ from .bots import ( ) from .input_media import ( InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto, - InputMediaDocument, InputMediaAnimation + InputMediaDocument, InputMediaAnimation, InputTextMessageContent ) from .messages_and_media import ( Audio, Contact, Document, Animation, Location, Photo, PhotoSize,