fix(media): 修复类型错误

This commit is contained in:
Attente
2025-11-23 13:28:01 +08:00
parent 56c684ec06
commit 5162b2748e
2 changed files with 17 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ class CommingMessage(BaseModel):
# 用户ID
userid: Optional[Union[str, int]] = None
# 用户名称
username: Optional[str] = None
username: Optional[Union[str, int]] = None
# 消息渠道
channel: Optional[MessageChannel] = None
# 来源(渠道名称)