Fix videonote import

This commit is contained in:
Jacob Bom 2017-06-20 22:41:02 +02:00
parent 1e4248136c
commit 4b53ed1c65
2 changed files with 3 additions and 3 deletions

View file

@ -31,6 +31,7 @@ from .files.video import Video
from .files.contact import Contact from .files.contact import Contact
from .files.location import Location from .files.location import Location
from .files.venue import Venue from .files.venue import Venue
from .files.videonote import VideoNote
from .chataction import ChatAction from .chataction import ChatAction
from .userprofilephotos import UserProfilePhotos from .userprofilephotos import UserProfilePhotos
from .keyboardbutton import KeyboardButton from .keyboardbutton import KeyboardButton
@ -88,7 +89,6 @@ from .payment.precheckoutquery import PreCheckoutQuery
from .payment.shippingquery import ShippingQuery from .payment.shippingquery import ShippingQuery
from .webhookinfo import WebhookInfo from .webhookinfo import WebhookInfo
from .games.gamehighscore import GameHighScore from .games.gamehighscore import GameHighScore
from .files.videonote import VideoNote
from .update import Update from .update import Update
from .bot import Bot from .bot import Bot
from .constants import (MAX_MESSAGE_LENGTH, MAX_CAPTION_LENGTH, SUPPORTED_WEBHOOK_PORTS, from .constants import (MAX_MESSAGE_LENGTH, MAX_CAPTION_LENGTH, SUPPORTED_WEBHOOK_PORTS,

View file

@ -23,10 +23,10 @@ from datetime import datetime
from time import mktime from time import mktime
from telegram import (Audio, Contact, Document, Chat, Location, PhotoSize, Sticker, TelegramObject, 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.deprecate import warn_deprecate_obj
from telegram.utils.helpers import escape_html, escape_markdown from telegram.utils.helpers import escape_html, escape_markdown
from telegram.videonote import VideoNote
class Message(TelegramObject): class Message(TelegramObject):