mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-20 10:04:08 +00:00
Attachment size limit
This commit is contained in:
parent
24eb27d41c
commit
5eca20469f
5 changed files with 76 additions and 7 deletions
|
@ -32,10 +32,10 @@ type message struct {
|
|||
|
||||
type attachment struct {
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Size int64 `json:"size"`
|
||||
Expires int64 `json:"expires"`
|
||||
PreviewURL string `json:"preview_url"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Size int64 `json:"size,omitempty"`
|
||||
Expires int64 `json:"expires,omitempty"`
|
||||
PreviewURL string `json:"preview_url,omitempty"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue