Make Dialog and Dialogs importable and printable
This commit is contained in:
parent
1ed202b926
commit
91cf2d1a8e
@ -504,6 +504,8 @@ def start():
|
|||||||
f.write("\n 0xb0700025: \"pyrogram.client.types.GIF\",")
|
f.write("\n 0xb0700025: \"pyrogram.client.types.GIF\",")
|
||||||
f.write("\n 0xb0700026: \"pyrogram.client.types.Messages\",")
|
f.write("\n 0xb0700026: \"pyrogram.client.types.Messages\",")
|
||||||
f.write("\n 0xb0700027: \"pyrogram.client.types.Photo\",")
|
f.write("\n 0xb0700027: \"pyrogram.client.types.Photo\",")
|
||||||
|
f.write("\n 0xb0700028: \"pyrogram.client.types.Dialog\",")
|
||||||
|
f.write("\n 0xb0700029: \"pyrogram.client.types.Dialogs\",")
|
||||||
|
|
||||||
f.write("\n}\n")
|
f.write("\n}\n")
|
||||||
|
|
||||||
|
@ -29,8 +29,8 @@ from .api.errors import Error
|
|||||||
from .client.types import (
|
from .client.types import (
|
||||||
Audio, Chat, ChatMember, ChatPhoto, Contact, Document, InputMediaPhoto,
|
Audio, Chat, ChatMember, ChatPhoto, Contact, Document, InputMediaPhoto,
|
||||||
InputMediaVideo, InputPhoneContact, Location, Message, MessageEntity,
|
InputMediaVideo, InputPhoneContact, Location, Message, MessageEntity,
|
||||||
Photo, PhotoSize, Sticker, Update, User, UserProfilePhotos, Venue, GIF,
|
Dialog, Dialogs, Photo, PhotoSize, Sticker, Update, User, UserProfilePhotos,
|
||||||
Video, VideoNote, Voice, CallbackQuery, Messages
|
Venue, GIF, Video, VideoNote, Voice, CallbackQuery, Messages
|
||||||
)
|
)
|
||||||
from .client.types.reply_markup import (
|
from .client.types.reply_markup import (
|
||||||
ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
ForceReply, InlineKeyboardButton, InlineKeyboardMarkup,
|
||||||
|
@ -22,6 +22,8 @@ from .chat import Chat
|
|||||||
from .chat_member import ChatMember
|
from .chat_member import ChatMember
|
||||||
from .chat_photo import ChatPhoto
|
from .chat_photo import ChatPhoto
|
||||||
from .contact import Contact
|
from .contact import Contact
|
||||||
|
from .dialog import Dialog
|
||||||
|
from .dialogs import Dialogs
|
||||||
from .document import Document
|
from .document import Document
|
||||||
from .gif import GIF
|
from .gif import GIF
|
||||||
from .input_media_photo import InputMediaPhoto
|
from .input_media_photo import InputMediaPhoto
|
||||||
|
Loading…
Reference in New Issue
Block a user