simple hello wechaty web server plugin
| 19 | |
| 20 | |
| 21 | class SimpleServerWechatyPlugin(WechatyPlugin): |
| 22 | """ |
| 23 | simple hello wechaty web server plugin |
| 24 | """ |
| 25 | async def blueprint(self, app: Quart) -> None: |
| 26 | @app.route('/wechaty') |
| 27 | def hello_wechaty() -> str: |
| 28 | """helo blueprint function""" |
| 29 | return 'hello wechaty' |
| 30 | |
| 31 | |
| 32 | async def message(msg: Message) -> None: |