How do I know which link is clicked on a balloon after processing a TTN_LINKCLICK message?

After Mr. TLama answered my last question ( How to catch TTN_LINKCLICK notification? ) One point was left unanswered because it was not asked :)

How to identify each link that I clicked on a balloon, if there are several links?

I want to be able to include more than one channel in a balloon and respond differently to clicks.

+7
source share
1 answer

The notification has no parameters, so you do not know which link was clicked. Moral: if you need more than one link, consider a more universal interface than a hint, such as a toast notification or a dialog box.

+8
source

All Articles