From 2e7eb309ed0d86369e4c69b21713dac4e2062249 Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 2 Aug 2024 19:05:19 +0200 Subject: [PATCH] add entitlements field to interaction struct --- interactions.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interactions.go b/interactions.go index 93ba366bb..774b17ff1 100644 --- a/interactions.go +++ b/interactions.go @@ -255,6 +255,10 @@ type Interaction struct { Token string `json:"token"` Version int `json:"version"` + + // Any entitlements for the invoking user, representing access to premium SKUs. + // NOTE: this field is only filled in monetized apps + Entitlements []*Entitlement `json:"entitlements"` } type interaction Interaction