Skip to content

Conversation

@xen0n
Copy link
Owner

@xen0n xen0n commented Aug 20, 2025

cc @dongowu

TODOs:

  • 避免使用 validator 全局量(剥离 validation 功能?)
  • 给 webhook message 类型添加 Webhook 前缀,以与常规 message 类型区分

wudongodong and others added 2 commits August 20, 2025 17:47
机器人发消息支持文本(text)、markdown(markdown)、图片(image)、图文(news)、文件(file)、语音(voice)、模板卡片(template_card)七种消息类型

[xen0n: rebased and squashed, also fixed the summary line]
* rename "WebHook" to "Webhook" for consistency
* rename "Struct2Map" to "ToWebhookMessagePayload" for clarity of
  interface methods
* add static type assertions to guarantee interface compatibility of the
  various built-in WebhookMessage types
@dongowu
Copy link

dongowu commented Aug 20, 2025

@xen0n 我已经完成了这部分的代码更改 并提交了pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants