| 1 | package wecomscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/ |
| 2 | |
| 3 | // RequestBody represents the payload sent to the WeCom webhook API. |
| 4 | type RequestBodyscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/RequestBody# struct { |
| 5 | MsgTypescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/RequestBody#MsgType. string `json:"msgtype"` |
| 6 | Textscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/RequestBody#Text. TextContentscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/TextContent# `json:"text"` |
| 7 | } |
| 8 | |
| 9 | // TextContent holds the text message content for WeCom. |
| 10 | type TextContentscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/TextContent# struct { |
| 11 | Contentscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/TextContent#Content. string `json:"content"` |
| 12 | MentionedListscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/TextContent#MentionedList. []string `json:"mentioned_list,omitempty"` |
| 13 | MentionedMobileListscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/TextContent#MentionedMobileList. []string `json:"mentioned_mobile_list,omitempty"` |
| 14 | } |
| 15 | |
| 16 | // Response represents the API response from WeCom. |
| 17 | type Responsescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/Response# struct { |
| 18 | ErrCodescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/Response#ErrCode. int `json:"errcode"` |
| 19 | ErrMsgscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/services/chat/wecom`/Response#ErrMsg. string `json:"errmsg"` |
| 20 | } |