1
0
Fork 0
mirror of synced 2025-04-16 23:40:54 +00:00

add external_code field for error

This commit is contained in:
Ruslan Efanov 2025-04-07 14:37:19 +03:00
parent f36c4080ca
commit 2791f08f46

View file

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