mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-24 09:16:00 +01:00
imports and classname fix
This commit is contained in:
parent
6cb177d2a7
commit
d2f2b74bdb
2 changed files with 12 additions and 4 deletions
|
@ -22,10 +22,18 @@
|
||||||
from .dispatcher import Dispatcher
|
from .dispatcher import Dispatcher
|
||||||
from .jobqueue import JobQueue
|
from .jobqueue import JobQueue
|
||||||
from .updater import Updater
|
from .updater import Updater
|
||||||
from .handler import Handler
|
from .callbackqueryhandler import CallbackQueryHandler
|
||||||
|
from .choseninlineresulthandler import ChosenInlineResultHandler
|
||||||
from .commandhandler import CommandHandler
|
from .commandhandler import CommandHandler
|
||||||
|
from .handler import Handler
|
||||||
|
from .inlinequeryhandler import InlineQueryHandler
|
||||||
from .messagehandler import MessageHandler
|
from .messagehandler import MessageHandler
|
||||||
from .regexhandler import RegexHandler
|
from .regexhandler import RegexHandler
|
||||||
|
from .stringcommandhandler import StringCommandHandler
|
||||||
|
from .stringregexhandler import StringRegexHandler
|
||||||
|
from .typehandler import TypeHandler
|
||||||
|
|
||||||
__all__ = ('Dispatcher', 'JobQueue', 'Updater', 'Handler', 'CommandHandler',
|
__all__ = ('Dispatcher', 'JobQueue', 'Updater', 'CallbackQueryHandler',
|
||||||
'MessageHandler', 'RegexHandler')
|
'ChosenInlineResultHandler', 'CommandHandler', 'Handler',
|
||||||
|
'InlineQueryHandler', 'MessageHandler', 'RegexHandler',
|
||||||
|
'StringCommandHandler', 'StringRegexHandler', 'TypeHandler')
|
||||||
|
|
|
@ -25,7 +25,7 @@ import re
|
||||||
from .handler import Handler
|
from .handler import Handler
|
||||||
|
|
||||||
|
|
||||||
class RegexHandler(Handler):
|
class StringRegexHandler(Handler):
|
||||||
"""
|
"""
|
||||||
Handler class to handle string updates based on a regex. It uses a
|
Handler class to handle string updates based on a regex. It uses a
|
||||||
regular expression to check update content. Read the documentation of the
|
regular expression to check update content. Read the documentation of the
|
||||||
|
|
Loading…
Add table
Reference in a new issue