So I’m looking to send information between two (maybe more) players with my addon (voluntarily of course) and wondering what the best way to do so is. I don’t want the information to show up in chat, it’s meant to be handled by the addon itself. Similarly, it’s also not meant to be a broadcast for every person who is using the addon just specific ones. Think User A inviting User B so the addon on User B’s PC pops up a dialog box where User B can accept. The addon can then send some data back and forth between the two users.
I looked at https://wowpedia.fandom.com/wiki/API_C_ChatInfo.SendAddonMessage and I’m not sure whether this is the right option (it looks like it). But before I meander down what may be the wrong path is that what I should use or is there a better approach?