package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Apr 15, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func WxWorkerNotify(tag, messageType, content, people, groupUrl string) error
func WxWorkerTextNotifyAll(tag, content, groupUrl string) error
type Receiver struct {
Id string `json:"id"`
Name string `json:"name"`
ReceiverName string `json:"receiverName"`
ReceiverId string `json:"receiverId"`
ReceiverType string `json:"receiverType"`
SendChannel string `json:"send_channel"`
}
type SendMessageApiRequestDto struct {
TaskId string `json:"task_id"`
Receiver []*Receiver `json:"receiver"`
TemplateId string `json:"template_id"`
Text string `json:"text"`
Params map[string]string `json:"params"`
}
type SendMessageApiResponseDto struct {
Code int `json:"code"`
Message string `json:"message"`
Data string `json:"data"`
}
type WXWorkerReqModel struct {
Msgtype string `json:"msgtype"`
Text struct {
Content string `json:"content"`
MentionedList []string `json:"mentioned_list"`
MentionedMobileList []string `json:"mentioned_mobile_list"`
} `json:"text"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.