2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Make new types importable

This commit is contained in:
Dan 2018-11-09 13:16:44 +01:00
parent ebfb64e139
commit 97e705f833
4 changed files with 9 additions and 5 deletions

View File

@ -32,10 +32,12 @@ from .client.types import (
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User, UserStatus, Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User, UserStatus,
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, InlineQueryResultArticle, InlineQueryResultPhoto, InputTextMessageContent, InlineQueryResultCachedAudio InlineQuery, InlineQueryResult, InlineQueryResultArticle, InlineQueryResultPhoto, InputTextMessageContent,
InlineQueryResultCachedAudio, InputMessageContent
) )
from .client import ( from .client import (
Client, ChatAction, ParseMode, Emoji, Client, ChatAction, ParseMode, Emoji,
MessageHandler, DeletedMessagesHandler, CallbackQueryHandler, MessageHandler, DeletedMessagesHandler, CallbackQueryHandler,
RawUpdateHandler, DisconnectHandler, UserStatusHandler, Filters RawUpdateHandler, DisconnectHandler, UserStatusHandler, Filters,
InlineQueryHandler
) )

View File

@ -22,5 +22,6 @@ from .filters import Filters
from .handlers import ( from .handlers import (
MessageHandler, DeletedMessagesHandler, MessageHandler, DeletedMessagesHandler,
CallbackQueryHandler, RawUpdateHandler, CallbackQueryHandler, RawUpdateHandler,
DisconnectHandler, UserStatusHandler DisconnectHandler, UserStatusHandler,
InlineQueryHandler
) )

View File

@ -18,7 +18,7 @@
from .bots import ( from .bots import (
CallbackQuery, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup, CallbackQuery, ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery, KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, InlineQuery, InlineQueryResult,
InlineQueryResultArticle, InlineQueryResultPhoto, InlineQueryResultCachedAudio InlineQueryResultArticle, InlineQueryResultPhoto, InlineQueryResultCachedAudio
) )
from .bots import ( from .bots import (
@ -27,7 +27,7 @@ from .bots import (
) )
from .input_media import ( from .input_media import (
InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto, InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto,
InputMediaDocument, InputMediaAnimation, InputTextMessageContent InputMediaDocument, InputMediaAnimation, InputMessageContent, 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,

View File

@ -22,5 +22,6 @@ from .input_media_audio import InputMediaAudio
from .input_media_document import InputMediaDocument from .input_media_document import InputMediaDocument
from .input_media_photo import InputMediaPhoto from .input_media_photo import InputMediaPhoto
from .input_media_video import InputMediaVideo from .input_media_video import InputMediaVideo
from .input_message_content import InputMessageContent
from .input_phone_contact import InputPhoneContact from .input_phone_contact import InputPhoneContact
from .input_text_message_content import InputTextMessageContent from .input_text_message_content import InputTextMessageContent