1
0
mirror of synced 2024-11-21 20:46:05 +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.
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 {