How do we send a message from one user to another using PlayFab?
In Basketball PVP we would like a user to click on a PlayFab friend in the leaderboard, then our app would send a message to their friend's PlayFab account with the Photon region and the room name info. Then if their friend has the app open they would get the info and join the server/room.
Answer by Brendan · Feb 16 at 01:09 AM
Since you're using Photon, the way to do this would be by using their FindFriends method. And you can send other messages between players using SendPrivateMessage.
We are planning on adding a generic messaging system, and when we do, we'll provide a system for notification. Right now, your options would be Push Notifications, or a persistent connection to the client using Photon Cloud or custom game servers (Client/GetFriendsList contains the current Lobby IDs for friends).
Matchmaker/StartGame Issues 1 Answer
Friends management flow 1 Answer