1
0
mirror of synced 2024-11-22 13:06:05 +03:00

add in_app_id and transport_message_id fields

This commit is contained in:
Pavel 2022-10-12 16:36:29 +03:00 committed by GitHub
commit 227c6e7d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {