How to send custom data to a dynamic room ?

0 votes

I want to send data(questions and options for quiz app) to a particular dynamic room .

Do we need any APIs to do this ?   Do you provide any API for this ?

 

asked Jan 4, 2017 in Work In Progress by jishnukanthpt (21 points)

1 Answer

+1 vote
 
Best answer
Hi Jishnu,

Greetings!!!

You can use sendChat API to send quiz data to a room or you can also send the same from AppHQ dashboard..

Let me know if more queries are concern.

Thanks

Vishnu Garg
answered Jan 4, 2017 by Vishnu Garg (674 points)
selected Jan 5, 2017 by jishnukanthpt
I have send custom message from appHD dashboard .
And got respone like onSendChatDone : Success  in dash board .

How can i show the message for both users in the room in application ?
At the time of sending message from Dashboard if any user that exists in that room will be getting callback in onChatReceived. And you can show the respective message on the UI
i can only send private chat message .i want to sent question and options as json object .

on sendChatAPI  i can only sent string .
How can i sent an object to room (for all users on that room) ?


And after particular second i want to sent the next question and options .

When does the created room automatically expires  (time) ?

Can i set it manually ? If yes. How ?
?????????????????????????????
You can send Json as a String in sendChat or sendPrivateChat ApI.
Dynamic room is deleted by server if there is no active player and default time out is 1hour.
You can set the same from dashboard as well.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...