We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create an engine template model class and a message type model class to make it easy to work with.
For example
class EngineTemplate: typ: str message: BaseTemplateMessage params: Dict routes: Dict # ...
Each template message type can inherit BaseTemplateMessage
BaseTemplateMessage
class BtnMessage(BaseTemplateMessage): body: str buttons: List[str] title: Union[str, None] # ...
This will greatly simplify working with templates especially with Dynamic templates in hooks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Create an engine template model class and a message type model class to make it easy to work with.
For example
Each template message type can inherit
BaseTemplateMessage
This will greatly simplify working with templates especially with Dynamic templates in hooks
The text was updated successfully, but these errors were encountered: