add webhook model

This commit is contained in:
Sinh 2023-10-12 15:43:49 +07:00
parent 7302b78f25
commit 430e07b7d0
1 changed files with 5 additions and 0 deletions

View File

@ -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
}