add webhook model
This commit is contained in:
parent
7302b78f25
commit
430e07b7d0
|
@ -49,3 +49,8 @@ type UpdatePayload struct {
|
||||||
Payload interface{} `json:"payload"`
|
Payload interface{} `json:"payload"`
|
||||||
Opts []*options.UpdateOptions `json:"opts"`
|
Opts []*options.UpdateOptions `json:"opts"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type WebhookPayloadV2 struct {
|
||||||
|
Path string `json:"path"` // request URL path from external
|
||||||
|
Data string `json:"data"` // request body
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue