2019-11-01 22:54:25 +00:00
|
|
|
# Python imports
|
|
|
|
|
2023-03-12 03:10:29 +00:00
|
|
|
# Lib imports
|
|
|
|
|
|
|
|
# Apoplication imports
|
|
|
|
|
2019-11-01 22:54:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
class MessageHandler:
|
|
|
|
def __init__(self):
|
|
|
|
print("MessageHandler initialized...")
|
|
|
|
|
|
|
|
|
2023-09-09 23:18:43 +00:00
|
|
|
def create(self, type, text):
|
2019-11-01 22:54:25 +00:00
|
|
|
return '{"message": { "type": "' + type + '", "text": "' + text + '" } }'
|