Documentation
¶
Index ¶
Constants ¶
View Source
const ( TEXT = "text" MARKDOWN = "markdown" IMAGE = "image" NEWS = "news" FILE = "file" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileMessage ¶
FileMessage
func NewFileMessage ¶
func NewFileMessage(mediaId string) *FileMessage
type ImageMessage ¶
ImageMessage
func NewImageMessage ¶
func NewImageMessage(base64 string, md5 string) *ImageMessage
type MarkdownMessage ¶
MarkdownMessage
func NewMarkdownMessage ¶
func NewMarkdownMessage(content string) *MarkdownMessage
type NewsMessage ¶
NewsMessage
func NewNewsMessage ¶
func NewNewsMessage(articles []Articles) *NewsMessage
type TextMessage ¶
TextMessage
func NewTextMessage ¶
func NewTextMessage(content string, mentionedList []string, mentionedMobileList []string) *TextMessage
Click to show internal directories.
Click to hide internal directories.