JSON format
This commit is contained in:
@@ -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