mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
feat(telegram): 图片增加缓存与安全校验, 获取失败降级发送
- 统一部分类型标注 - 修正部分文本错误
This commit is contained in:
@@ -41,7 +41,7 @@ class SynologyChat:
|
||||
def send_msg(self, title: str, text: Optional[str] = None, image: Optional[str] = None,
|
||||
userid: Optional[str] = None, link: Optional[str] = None) -> Optional[bool]:
|
||||
"""
|
||||
发送Telegram消息
|
||||
发送SynologyChat消息
|
||||
:param title: 消息标题
|
||||
:param text: 消息内容
|
||||
:param image: 消息图片地址
|
||||
|
||||
Reference in New Issue
Block a user