|
43 | 43 | from .error import TelegramError |
44 | 44 | from .inputfile import InputFile |
45 | 45 | from .file import File |
46 | | -from .nullhandler import NullHandler |
47 | 46 | from .emoji import Emoji |
48 | 47 | from .parsemode import ParseMode |
49 | 48 | from .messageentity import MessageEntity |
|
101 | 100 | 'InlineQueryResultVenue', 'InlineQueryResultVideo', 'InlineQueryResultVoice', |
102 | 101 | 'InputContactMessageContent', 'InputFile', 'InputLocationMessageContent', |
103 | 102 | 'InputMessageContent', 'InputTextMessageContent', 'InputVenueMessageContent', |
104 | | - 'KeyboardButton', 'Location', 'Message', 'MessageEntity', 'NullHandler', 'ParseMode', |
105 | | - 'PhotoSize', 'ReplyKeyboardHide', 'ReplyKeyboardMarkup', 'ReplyMarkup', 'Sticker', |
106 | | - 'TelegramError', 'TelegramObject', 'Update', 'User', 'UserProfilePhotos', 'Venue', |
107 | | - 'Video', 'Voice', 'MAX_MESSAGE_LENGTH', 'MAX_CAPTION_LENGTH', 'SUPPORTED_WEBHOOK_PORTS', |
| 103 | + 'KeyboardButton', 'Location', 'Message', 'MessageEntity', 'ParseMode', 'PhotoSize', |
| 104 | + 'ReplyKeyboardHide', 'ReplyKeyboardMarkup', 'ReplyMarkup', 'Sticker', 'TelegramError', |
| 105 | + 'TelegramObject', 'Update', 'User', 'UserProfilePhotos', 'Venue', 'Video', 'Voice', |
| 106 | + 'MAX_MESSAGE_LENGTH', 'MAX_CAPTION_LENGTH', 'SUPPORTED_WEBHOOK_PORTS', |
108 | 107 | 'MAX_FILESIZE_DOWNLOAD', 'MAX_FILESIZE_UPLOAD', 'MAX_MESSAGES_PER_SECOND_PER_CHAT', |
109 | 108 | 'MAX_MESSAGES_PER_SECOND', 'MAX_MESSAGES_PER_MINUTE_PER_GROUP'] |
110 | | - |
111 | | -if version_info < (2, 7): |
112 | | - from warnings import warn |
113 | | - warn("python-telegram-bot will stop supporting Python 2.6 in a future release. " |
114 | | - "Please upgrade your Python version to at least Python 2.7!") |
0 commit comments