Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotifier ¶
func NewNotifier(opts ...Option) notifier.Notifier
Types ¶
type TextMessage ¶
type TextMessage struct { MsgType MsgType `json:"msgtype"` Text Text `json:"text"` At At `json:"at"` }
func (*TextMessage) SetAt ¶
func (m *TextMessage) SetAt(atMobiles []string, isAtAll bool) *TextMessage
SetAt set at
func (*TextMessage) SetContent ¶
func (m *TextMessage) SetContent(content string) *TextMessage
SetContent set content
func (*TextMessage) ToByte ¶
func (m *TextMessage) ToByte() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.