mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-16 00:17:56 +00:00
JSON format
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ type attachment struct {
|
|||||||
type action struct {
|
type action struct {
|
||||||
Action string `json:"action"`
|
Action string `json:"action"`
|
||||||
Label string `json:"label"`
|
Label string `json:"label"`
|
||||||
URL string `json:"URL,omitempty"`
|
URL string `json:"url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// publishMessage is used as input when publishing as JSON
|
// publishMessage is used as input when publishing as JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user