add external_code field for error
This commit is contained in:
parent
f36c4080ca
commit
2791f08f46
1 changed files with 3 additions and 2 deletions
|
@ -459,8 +459,9 @@ type WebhookMessageSentResponse struct {
|
|||
|
||||
// MessageSentError type.
|
||||
type MessageSentError struct {
|
||||
Code ErrorType `json:"code"`
|
||||
Message string `json:"message"`
|
||||
Code ErrorType `json:"code"`
|
||||
Message string `json:"message"`
|
||||
ExternalCode string `json:"external_code,omitempty"`
|
||||
}
|
||||
|
||||
// MessageWebhookData request data.
|
||||
|
|
Loading…
Add table
Reference in a new issue