Sign In Register

How can we help you today?

Start a new topic
Answered

Challenge Chat History

I noticed teams have a nice ListTeamChatRequest for retrieving a history of chats.  Is there a function for retrieving the history of ChatOnChallengeRequests in relation to a challenge?


If not, which of these alternatives would be recommended for achieving a chat history for a challenge: 

  1. create an array of chats and store them in the Game Data Service with an id matching the chllengeInstanceId
  2. Create a team for the challenge, use TeamChat for the game's chat, and drop the team after the Challenge is over. (Or possibly never drop the team in the case that we divide a player can view ended Challenges and still look at the chat) 


Thanks for your time!


Best Answer

Hi,


Option 2 would be the easiest to implement as it's an out of the box feature. When a challenge starts you could add all of the players to a challenge team and then use the SendTeamChatMessageRequest for that challenge. You could then retrieve it later with the ListTeamChatRequest.


Regards,

Liam

1 Comment

Answer

Hi,


Option 2 would be the easiest to implement as it's an out of the box feature. When a challenge starts you could add all of the players to a challenge team and then use the SendTeamChatMessageRequest for that challenge. You could then retrieve it later with the ListTeamChatRequest.


Regards,

Liam

Login to post a comment