Add type PushPayload.

This commit is contained in:
Владислав Весельский 2025-02-06 11:51:43 +03:00
parent e4f142324f
commit 3557a84ae0
1 changed files with 7 additions and 0 deletions

View File

@ -196,3 +196,10 @@ func jobRequests_deviceTokenAmount(jobRequests []PushJobRequest) uint32 {
} }
return total return total
} }
//-----------------------------------------------------------------------------
type PushPayload struct {
ImageUrl string `json:"imageUrl"`
TextVariants []*TextVariant `json:"textVariants"`
}