Initial commit
This commit is contained in:
15
datatypes.py
Normal file
15
datatypes.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
Types used across the application
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass
|
||||
from enum import Enum
|
||||
|
||||
@dataclass
|
||||
class AppConfig:
|
||||
matrix_homeserver: str
|
||||
matrix_user: str
|
||||
store_dir: str
|
||||
|
||||
class MessageType(Enum):
|
||||
TEXT = "m.text"
|
||||
Reference in New Issue
Block a user