Skip to content

Commit ed64cbb

Browse files
committed
add miniprogram to the reply content
1 parent 5c119ff commit ed64cbb

File tree

1 file changed

+4
-2
lines changed
  • src/wechaty_plugin_contrib/contrib/auto_reply_plugin

1 file changed

+4
-2
lines changed

src/wechaty_plugin_contrib/contrib/auto_reply_plugin/plugin.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
WechatyPluginOptions,
88
FileBox,
99
Contact,
10-
Message, Room
10+
Message,
11+
Room,
12+
MiniProgram
1113
)
1214

1315
from wechaty_puppet import ( # type: ignore
@@ -28,7 +30,7 @@
2830
@dataclass
2931
class AutoReplyRule:
3032
keyword: str
31-
reply_content: Union[str, FileBox, Contact, Message, ]
33+
reply_content: Union[str, FileBox, Contact, Message, MiniProgram]
3234

3335

3436
@dataclass

0 commit comments

Comments
 (0)