mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Make new types importable
This commit is contained in:
parent
ebfb64e139
commit
97e705f833
@ -32,10 +32,12 @@ from .client.types import (
|
||||
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User, UserStatus,
|
||||
UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply,
|
||||
InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove,
|
||||
InlineQuery, InlineQueryResultArticle, InlineQueryResultPhoto, InputTextMessageContent, InlineQueryResultCachedAudio
|
||||
InlineQuery, InlineQueryResult, InlineQueryResultArticle, InlineQueryResultPhoto, InputTextMessageContent,
|
||||
InlineQueryResultCachedAudio, InputMessageContent
|
||||
)
|
||||
from .client import (
|
||||
Client, ChatAction, ParseMode, Emoji,
|
||||
MessageHandler, DeletedMessagesHandler, CallbackQueryHandler,
|
||||
RawUpdateHandler, DisconnectHandler, UserStatusHandler, Filters
|
||||
RawUpdateHandler, DisconnectHandler, UserStatusHandler, Filters,
|
||||
InlineQueryHandler
|
||||
)
|
||||
|
@ -22,5 +22,6 @@ from .filters import Filters
|
||||
from .handlers import (
|
||||
MessageHandler, DeletedMessagesHandler,
|
||||
CallbackQueryHandler, RawUpdateHandler,
|
||||
DisconnectHandler, UserStatusHandler
|
||||
DisconnectHandler, UserStatusHandler,
|
||||
InlineQueryHandler
|
||||
)
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
from .bots import (
|
||||
CallbackQuery, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
||||
KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery,
|
||||
KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery, InlineQueryResult,
|
||||
InlineQueryResultArticle, InlineQueryResultPhoto, InlineQueryResultCachedAudio
|
||||
)
|
||||
from .bots import (
|
||||
@ -27,7 +27,7 @@ from .bots import (
|
||||
)
|
||||
from .input_media import (
|
||||
InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto,
|
||||
InputMediaDocument, InputMediaAnimation, InputTextMessageContent
|
||||
InputMediaDocument, InputMediaAnimation, InputMessageContent, InputTextMessageContent
|
||||
)
|
||||
from .messages_and_media import (
|
||||
Audio, Contact, Document, Animation, Location, Photo, PhotoSize,
|
||||
|
@ -22,5 +22,6 @@ from .input_media_audio import InputMediaAudio
|
||||
from .input_media_document import InputMediaDocument
|
||||
from .input_media_photo import InputMediaPhoto
|
||||
from .input_media_video import InputMediaVideo
|
||||
from .input_message_content import InputMessageContent
|
||||
from .input_phone_contact import InputPhoneContact
|
||||
from .input_text_message_content import InputTextMessageContent
|
||||
|
Loading…
x
Reference in New Issue
Block a user