Documentation
¶
Index ¶
- type Chanify
- func (r *Chanify) SendLink(link string) error
- func (r *Chanify) SendMsg(title, body string) error
- func (r *Chanify) SendText(text string) error
- func (r *Chanify) SetAutoCopy(copy bool) *Chanify
- func (r *Chanify) SetCopy(text string) *Chanify
- func (r *Chanify) SetDebug(debug bool) *Chanify
- func (r *Chanify) SetGet() *Chanify
- func (r *Chanify) SetLevel(level int) *Chanify
- func (r *Chanify) SetPriority(priority int) *Chanify
- func (r *Chanify) SetRingtone() *Chanify
- func (r *Chanify) SetSound(soundName string) *Chanify
- func (r *Chanify) UseHost(url string) notice.Noticer
- func (r *Chanify) UseSecret(secret string) notice.Noticer
- func (r *Chanify) UseToken(token string) notice.Noticer
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chanify ¶ added in v0.2.0
type Chanify struct {
// contains filtered or unexported fields
}
func NewChanify ¶ added in v0.2.0
NewChanify host default is `https://api.chanify.net`
func (*Chanify) SetAutoCopy ¶ added in v0.2.0
SetAutoCopy auto copy
func (*Chanify) SetPriority ¶ added in v0.2.0
func (*Chanify) SetRingtone ¶ added in v0.2.0
SetRingtone enable ringtone
Click to show internal directories.
Click to hide internal directories.