mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Expose new types and methods
This commit is contained in:
parent
350265aaae
commit
0a057cc233
@ -32,7 +32,7 @@ from .client.types import (
|
|||||||
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User,
|
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User,
|
||||||
UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply,
|
UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply,
|
||||||
InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove,
|
InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove,
|
||||||
InlineQuery
|
InlineQuery, InlineQueryResultArticle, InputTextMessageContent
|
||||||
)
|
)
|
||||||
from .client import (
|
from .client import (
|
||||||
Client, ChatAction, ParseMode, Emoji,
|
Client, ChatAction, ParseMode, Emoji,
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from .answer_callback_query import AnswerCallbackQuery
|
from .answer_callback_query import AnswerCallbackQuery
|
||||||
|
from .answer_inline_query import AnswerInlineQuery
|
||||||
from .get_inline_bot_results import GetInlineBotResults
|
from .get_inline_bot_results import GetInlineBotResults
|
||||||
from .request_callback_answer import RequestCallbackAnswer
|
from .request_callback_answer import RequestCallbackAnswer
|
||||||
from .send_inline_bot_result import SendInlineBotResult
|
from .send_inline_bot_result import SendInlineBotResult
|
||||||
@ -24,6 +25,7 @@ from .send_inline_bot_result import SendInlineBotResult
|
|||||||
|
|
||||||
class Bots(
|
class Bots(
|
||||||
AnswerCallbackQuery,
|
AnswerCallbackQuery,
|
||||||
|
AnswerInlineQuery,
|
||||||
GetInlineBotResults,
|
GetInlineBotResults,
|
||||||
RequestCallbackAnswer,
|
RequestCallbackAnswer,
|
||||||
SendInlineBotResult
|
SendInlineBotResult
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
from .bots import (
|
from .bots import (
|
||||||
CallbackQuery, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
CallbackQuery, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
||||||
KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery
|
KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery,
|
||||||
|
InlineQueryResultArticle
|
||||||
)
|
)
|
||||||
from .bots import (
|
from .bots import (
|
||||||
ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
||||||
@ -26,7 +27,7 @@ from .bots import (
|
|||||||
)
|
)
|
||||||
from .input_media import (
|
from .input_media import (
|
||||||
InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto,
|
InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto,
|
||||||
InputMediaDocument, InputMediaAnimation
|
InputMediaDocument, InputMediaAnimation, InputTextMessageContent
|
||||||
)
|
)
|
||||||
from .messages_and_media import (
|
from .messages_and_media import (
|
||||||
Audio, Contact, Document, Animation, Location, Photo, PhotoSize,
|
Audio, Contact, Document, Animation, Location, Photo, PhotoSize,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user