mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-06 22:47:38 +03:00
Handle binary messages for UnifiedPush
This commit is contained in:
parent
4710812c24
commit
4ceb058a40
3 changed files with 88 additions and 25 deletions
|
@ -29,6 +29,7 @@ type message struct {
|
|||
Attachment *attachment `json:"attachment,omitempty"`
|
||||
Title string `json:"title,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Encoding string `json:"encoding,omitempty"` // empty for raw UTF-8, or "base64" for encoded bytes
|
||||
}
|
||||
|
||||
type attachment struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue