From 5405924b9bd7dcd48442ee1a1d70d0c4990a558d Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 11 Oct 2022 10:10:22 +0300 Subject: [PATCH] add in_app_id and transport_message_id fields --- v1/types.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/v1/types.go b/v1/types.go index 0a3a82b..239741c 100644 --- a/v1/types.go +++ b/v1/types.go @@ -324,9 +324,10 @@ type MarkMessageReadRequestMessage struct { // AckMessageRequest type. type AckMessageRequest struct { - ExternalMessageID string `json:"external_message_id"` - Channel uint64 `json:"channel"` - Error *MessageSentError `json:"error,omitempty"` + ExternalMessageID string `json:"external_message_id"` + TransportMessageID string `json:"transport_message_id,omitempty"` + Channel uint64 `json:"channel"` + Error *MessageSentError `json:"error,omitempty"` } // DeleteData struct. @@ -379,6 +380,7 @@ type WebhookData struct { Items *[]FileItem `json:"items,omitempty"` Template *TemplateInfo `json:"template,omitempty"` Attachments *Attachments `json:"attachments,omitempty"` + InAppID int32 `json:"in_app_id,omitempty"` } type Attachments struct {