package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Apr 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type At struct {
AtMobiles []string `json:"atMobiles"`
AtAll bool `json:"atAll"`
}
type Button struct {
Title string `json:"title"`
URL string `json:"url"`
}
type Image struct {
Bytes []byte `json:"bytes"`
Base64 string `json:"base64"`
MD5 string `json:"md5"`
}
type Link struct {
Title string `json:"title"`
URL string `json:"url"`
PicURL string `json:"picURL"`
}
type Payload struct {
Raw string `json:"raw"`
Title string `json:"title"`
Text string `json:"text"`
Markdown string `json:"markdown"`
Files []string `json:"files"`
Images []Image `json:"images"`
Links []Link `json:"links"`
Buttons []Button `json:"buttons"`
At At `json:"at"`
}
type PayloadGenerator interface {
ToPayload() *Payload
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.