qywx

package
v0.0.0-...-8eff3c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnterpriseWechat string = "ENTERPRISE_WECHAT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	Title       string `json:"title"`
	Description string `json:"description"`
	URL         string `json:"url"`
	PicURL      string `json:"picurl"`
}

type EnterpriseWechatPushService

type EnterpriseWechatPushService struct{}

func (*EnterpriseWechatPushService) Push

Save Save

type Markdown

type Markdown struct {
	Content string `json:"content"`
}

type MarkdownMessage

type MarkdownMessage struct {
	MsgType             string    `json:"msgtype"`
	Markdown            *Markdown `json:"markdown"`
	MentionedList       []string  `json:"mentioned_list"`
	MentionedMobileList []string  `json:"mentioned_mobile_list"`
}

type NewMessage

type NewMessage struct {
	MsgType string `json:"msgtype"`
	News    *News  `json:"news"`
}

type News

type News struct {
	Articles []Article `json:"articles"`
}

type NewsMessage

type NewsMessage struct {
	MsgType  string   `json:"msgtype"`
	Markdown Markdown `json:"news"`
}

type TextMessage

type TextMessage struct {
	MsgType             string   `json:"msgtype"`
	Content             string   `json:"content"`
	MentionedList       []string `json:"mentioned_list"`
	MentionedMobileList []string `json:"mentioned_mobile_list"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL