diff --git a/internal/messenger/postback/postback.go b/internal/messenger/postback/postback.go index 01c6f75..736803d 100644 --- a/internal/messenger/postback/postback.go +++ b/internal/messenger/postback/postback.go @@ -129,6 +129,7 @@ func (p *Postback) Push(m models.Message) error { copy(a.Content, f.Content) files = append(files, a) } + pb.Attachments = files } b, err := pb.MarshalJSON()