Documentation
¶
Index ¶
- Constants
- Variables
- func Cancel(ctx context.Context, id int64) error
- func SendByID(ctx context.Context, id int64, cType gmodel.Type, at int64, title, msg string) (int64, error)
- func SendBySign(ctx context.Context, sign string, cType gmodel.Type, at int64, ...) (int64, error)
- func Status(ctx context.Context, id int64) (*gmodel.StatusModel, error)
- type TypeDetail
Constants ¶
View Source
const ( TypeText = gmodel.TypeText // 普通文本 TypeTextCard = gmodel.TypeTextCard // 微信文本卡片 TypeMarkdown = gmodel.TypeMarkdown // Markdown TypeHTML = gmodel.TypeHTML // HTML )
Variables ¶
View Source
var AllType = []*TypeDetail{ {TypeText, TypeText.String(), TypeText.StringEnglish()}, {TypeTextCard, TypeTextCard.String(), TypeTextCard.StringEnglish()}, {TypeMarkdown, TypeMarkdown.String(), TypeMarkdown.StringEnglish()}, {TypeHTML, TypeHTML.String(), TypeHTML.StringEnglish()}, }
Functions ¶
func SendByID ¶
func SendBySign ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.