diff --git a/zhenxun/utils/message.py b/zhenxun/utils/message.py index 34296777..38fcdacd 100644 --- a/zhenxun/utils/message.py +++ b/zhenxun/utils/message.py @@ -138,7 +138,7 @@ def template2forward(cls, msg_list: list[UniMessage], uni: str) -> list[dict]: if isinstance(r, Text): s += str(r) elif isinstance(r, Image): - if v := r.url or r.path: + if v := r.url or r.path or r.raw: s += MessageSegment.image(v) elif isinstance(r_list, Image): if v := r_list.url or r_list.path: