add torrents message

This commit is contained in:
jxxghp
2023-06-06 12:53:48 +08:00
parent 05564c8ffe
commit 9047e0252a
4 changed files with 64 additions and 10 deletions

View File

@ -102,10 +102,10 @@ class TelegramModule(_ModuleBase):
def post_torrents_message(self, title: str, items: List[TorrentInfo],
userid: Union[str, int] = None) -> Optional[bool]:
"""
TODO 发送种子信息选择列表
发送种子信息选择列表
:param title: 标题
:param items: 消息列表
:param userid: 用户ID
:return: 成功或失败
"""
pass
return self.telegram.send_torrents_msg(title=title, torrents=items, userid=userid)