1
0
mirror of synced 2024-11-25 06:26:03 +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

@ -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 {