From 3557a84ae029067a379202203699a0b235bf56c6 Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Thu, 6 Feb 2025 11:51:43 +0300 Subject: [PATCH] Add type PushPayload. --- push_common.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/push_common.go b/push_common.go index 5bfccbf..ecc4711 100644 --- a/push_common.go +++ b/push_common.go @@ -196,3 +196,10 @@ func jobRequests_deviceTokenAmount(jobRequests []PushJobRequest) uint32 { } return total } + +//----------------------------------------------------------------------------- + +type PushPayload struct { + ImageUrl string `json:"imageUrl"` + TextVariants []*TextVariant `json:"textVariants"` +}