1
0
mirror of synced 2025-02-16 12:13:17 +03:00

add in_app_id and transport_message_id fields

This commit is contained in:
Pavel 2022-10-11 10:10:22 +03:00
parent 8782f91caf
commit 5405924b9b

View File

@ -324,9 +324,10 @@ type MarkMessageReadRequestMessage struct {
// AckMessageRequest type. // AckMessageRequest type.
type AckMessageRequest struct { type AckMessageRequest struct {
ExternalMessageID string `json:"external_message_id"` ExternalMessageID string `json:"external_message_id"`
Channel uint64 `json:"channel"` TransportMessageID string `json:"transport_message_id,omitempty"`
Error *MessageSentError `json:"error,omitempty"` Channel uint64 `json:"channel"`
Error *MessageSentError `json:"error,omitempty"`
} }
// DeleteData struct. // DeleteData struct.
@ -379,6 +380,7 @@ type WebhookData struct {
Items *[]FileItem `json:"items,omitempty"` Items *[]FileItem `json:"items,omitempty"`
Template *TemplateInfo `json:"template,omitempty"` Template *TemplateInfo `json:"template,omitempty"`
Attachments *Attachments `json:"attachments,omitempty"` Attachments *Attachments `json:"attachments,omitempty"`
InAppID int32 `json:"in_app_id,omitempty"`
} }
type Attachments struct { type Attachments struct {