1
0
mirror of synced 2025-02-18 05:03: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

@ -325,6 +325,7 @@ 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"`
TransportMessageID string `json:"transport_message_id,omitempty"`
Channel uint64 `json:"channel"` Channel uint64 `json:"channel"`
Error *MessageSentError `json:"error,omitempty"` Error *MessageSentError `json:"error,omitempty"`
} }
@ -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 {