I have quite some programming experience with Delphi and C++.
So I know the general concepts of programming.
currently I started to explore the PushSafe-Arduini-Library
There is a Demo-Code inside the library.
I was able to successfully combile it and send Push-Notifications.
Though I don't understand all details. I was looking into the docs of the API
here
https://www.pushsafer.com/de/pushapi_ext#API-A
there is an option answer / force answer
force anser parameter "af"
I understand what a parameter is. But I have no idea how this parameter is applied to the
Code: Select all
struct PushSaferInput input;
To me it seems as if this Demo-Code does not include all possible parameters in the struct.
But maybe I'm misunderstanding how it works fundamentally. Maybe it is done in the message itself like
input.message = "af=1" or something like this. No clue at all.
Can somebody explain this to me?
best regards Stefan