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

Export Poll and PollAnswer types

This commit is contained in:
Dan 2018-12-22 23:54:42 +01:00
parent aef02f049c
commit 1ef3bc758f
3 changed files with 5 additions and 2 deletions

View File

@ -31,7 +31,8 @@ from .client.types import (
InputMediaVideo, InputMediaDocument, InputMediaAudio, InputMediaAnimation, InputPhoneContact, InputMediaVideo, InputMediaDocument, InputMediaAudio, InputMediaAnimation, InputPhoneContact,
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, User, UserStatus, Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, 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,
Poll, PollAnswer
) )
from .client import ( from .client import (
Client, ChatAction, ParseMode, Emoji, Client, ChatAction, ParseMode, Emoji,

View File

@ -31,7 +31,7 @@ from .input_media import (
from .messages_and_media import ( from .messages_and_media import (
Audio, Contact, Document, Animation, Location, Photo, PhotoSize, Audio, Contact, Document, Animation, Location, Photo, PhotoSize,
Sticker, Venue, Video, VideoNote, Voice, UserProfilePhotos, Sticker, Venue, Video, VideoNote, Voice, UserProfilePhotos,
Message, Messages, MessageEntity Message, Messages, MessageEntity, Poll, PollAnswer
) )
from .user_and_chats import ( from .user_and_chats import (
Chat, ChatMember, ChatMembers, ChatPhoto, Chat, ChatMember, ChatMembers, ChatPhoto,

View File

@ -26,6 +26,8 @@ from .message_entity import MessageEntity
from .messages import Messages from .messages import Messages
from .photo import Photo from .photo import Photo
from .photo_size import PhotoSize from .photo_size import PhotoSize
from .poll import Poll
from .poll_answer import PollAnswer
from .sticker import Sticker from .sticker import Sticker
from .user_profile_photos import UserProfilePhotos from .user_profile_photos import UserProfilePhotos
from .venue import Venue from .venue import Venue