mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-05 22:17:40 +03:00
Added missing 'delay' and 'email' params to publish as json
This commit is contained in:
parent
59b341dfb8
commit
b67d9fc85d
5 changed files with 31 additions and 3 deletions
|
@ -52,6 +52,8 @@ type publishMessage struct {
|
|||
Click string `json:"click"`
|
||||
Attach string `json:"attach"`
|
||||
Filename string `json:"filename"`
|
||||
Email string `json:"email"`
|
||||
Delay string `json:"delay"`
|
||||
}
|
||||
|
||||
// messageEncoder is a function that knows how to encode a message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue