Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeywordMethod ¶
type KeywordMethod struct {
WhileIpMethod
}
type RichContent ¶
type RichContent []RichContentLine
func (*RichContent) AddLine ¶
func (m *RichContent) AddLine(v *RichContentLine) *RichContent
type RichContentLine ¶
type RichContentLine []richContentItem
func (*RichContentLine) AddLink ¶
func (m *RichContentLine) AddLink(content, href string) *RichContentLine
func (*RichContentLine) AddText ¶
func (m *RichContentLine) AddText(content string) *RichContentLine
type SecretMethod ¶
type SecretMethod struct { WhileIpMethod // contains filtered or unexported fields }
func (*SecretMethod) Init ¶
func (m *SecretMethod) Init(hook, secret string)
func (*SecretMethod) SendRichMsg ¶
func (m *SecretMethod) SendRichMsg(title string, content RichContent) (bool, error)
func (*SecretMethod) SendSimpleMsg ¶
func (m *SecretMethod) SendSimpleMsg(content string) (bool, error)
type WhileIpMethod ¶
type WhileIpMethod struct {
// contains filtered or unexported fields
}
func (*WhileIpMethod) Init ¶
func (m *WhileIpMethod) Init(hook string)
func (*WhileIpMethod) SendRichMsg ¶
func (m *WhileIpMethod) SendRichMsg(title string, content RichContent) (bool, error)
func (*WhileIpMethod) SendSimpleMsg ¶
func (m *WhileIpMethod) SendSimpleMsg(content string) (bool, error)
Click to show internal directories.
Click to hide internal directories.