Compare commits
5 Commits
dev
...
implement_
| Author | SHA1 | Date |
|---|---|---|
|
|
b6d4c24352 | |
|
|
3ee2290ca6 | |
|
|
32149194ea | |
|
|
d2ca25a192 | |
|
|
92187280e9 |
|
|
@ -21,8 +21,7 @@ from .exceptions import SubscriptionError
|
|||
|
||||
async def build_notice(html_content) -> TextMessageEventContent:
|
||||
"""
|
||||
Build a notice message with optional arguments. The html_content can contain
|
||||
placeholders like %s which will be replaced by the arguments.
|
||||
Build a notice message.
|
||||
"""
|
||||
text_content = await parse_html(html_content.strip())
|
||||
return TextMessageEventContent(
|
||||
|
|
|
|||
Loading…
Reference in New Issue