Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Key string
}
func (*App) NewParamsWith ¶
func (*App) WebhookSend ¶
func (app *App) WebhookSend(notMustParams ...Params) (result WebhookSendResult, err error)
WebhookSend https://work.weixin.qq.com/api/doc/90000/90136/91770
type WebhookSendResult ¶
type WebhookSendText ¶
type WebhookSendText struct { Msgtype string `json:"msgtype"` // 消息类型,此时固定为text Text struct { Content string `json:"content"` // 文本内容,最长不超过2048个字节,必须是utf8编码 MentionedList []string `json:"mentioned_list"` // userid的列表,提醒群中的指定成员(@某个成员),@all表示提醒所有人,如果开发者获取不到userid,可以使用mentioned_mobile_list MentionedMobileList []string `json:"mentioned_mobile_list"` // 手机号列表,提醒手机号对应的群成员(@某个成员),@all表示提醒所有人 } `json:"text"` }
WebhookSendText 文本类型
Click to show internal directories.
Click to hide internal directories.