1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-23 13:42:25 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
曹晶
9b453210f2 Merge 836c5b6607 into da5067bcb2 2023-10-09 15:20:45 +08:00
lumiaqian
836c5b6607 feat(work): add params allow_select chat_id_list tag_filter
add params allow_select chat_id_list tag_filter
2023-10-07 14:24:52 +08:00
lumiaqian
024fb2a92d feat(work): add params allow_select chat_id_list tag_filter
add params allow_select chat_id_list tag_filter
2023-10-07 14:15:21 +08:00

View File

@@ -38,8 +38,23 @@ type AddMsgTemplateRequest struct {
Sender string `json:"sender,omitempty"` Sender string `json:"sender,omitempty"`
Text MsgText `json:"text"` Text MsgText `json:"text"`
Attachments []*Attachment `json:"attachments"` Attachments []*Attachment `json:"attachments"`
AllowSelect bool `json:"allow_select,omitempty"`
ChatIDList []string `json:"chat_id_list,omitempty"`
TagFilter TagFilter `json:"tag_filter,omitempty"`
} }
type (
// TagFilter 标签过滤
TagFilter struct {
GroupList []TagGroupList `json:"group_list"`
}
// TagGroupList 标签组
TagGroupList struct {
TagList []string `json:"tag_list"`
}
)
// MsgText 文本消息 // MsgText 文本消息
type MsgText struct { type MsgText struct {
Content string `json:"content"` Content string `json:"content"`