diff --git a/telegram/__init__.py b/telegram/__init__.py index 10c90cc7a..4f93b8660 100644 --- a/telegram/__init__.py +++ b/telegram/__init__.py @@ -31,6 +31,7 @@ from .files.video import Video from .files.contact import Contact from .files.location import Location from .files.venue import Venue +from .files.videonote import VideoNote from .chataction import ChatAction from .userprofilephotos import UserProfilePhotos from .keyboardbutton import KeyboardButton @@ -88,7 +89,6 @@ from .payment.precheckoutquery import PreCheckoutQuery from .payment.shippingquery import ShippingQuery from .webhookinfo import WebhookInfo from .games.gamehighscore import GameHighScore -from .files.videonote import VideoNote from .update import Update from .bot import Bot from .constants import (MAX_MESSAGE_LENGTH, MAX_CAPTION_LENGTH, SUPPORTED_WEBHOOK_PORTS, diff --git a/telegram/message.py b/telegram/message.py index 73273e39b..c9cb8643e 100644 --- a/telegram/message.py +++ b/telegram/message.py @@ -23,10 +23,10 @@ from datetime import datetime from time import mktime from telegram import (Audio, Contact, Document, Chat, Location, PhotoSize, Sticker, TelegramObject, - User, Video, Voice, Venue, MessageEntity, Game, Invoice, SuccessfulPayment) + User, Video, Voice, Venue, MessageEntity, Game, Invoice, SuccessfulPayment, + VideoNote) from telegram.utils.deprecate import warn_deprecate_obj from telegram.utils.helpers import escape_html, escape_markdown -from telegram.videonote import VideoNote class Message(TelegramObject):