Keep one hour of chat
kosted
✭
in Photon Chat
Hi everybody, I start with photon chat, and I noticed that conversations are erased each time I disconnect and reconnect. How could I keep chat for one hour ? So, I can't loose conversations. I want to implement a king of history of conversation and keep it one hour.
Thanks in advance and sorry for this bad English ^^
Thanks in advance and sorry for this bad English ^^
0
Comments
-
I notice that if a user 1 send a message in a channel, then disconnet, and a user 2 come after him, and connect to this channel, he can't see the message of user 1. But if user 1 is still connected user 2 can retrieve conversation. How this chat works please ? How could I keep message for a certain time please or keep the connection alive ?0
-
Hi @kosted,
You need to implement Chat Webhooks.
You can save and load up to 100 of last messages published inside a public channel.
Can't persist private channel messages out of the box yet.0