Pervious chat

Hi I am developing chat system in my game but I can't get any previous chat. I have not any another server. I am just using Photon. So what I can do can you share webhook url which url I have use
Thank you

Answers

  • Hi @bipin,

    Thank you for choosing Photon!

    Photon Chat keeps up to the last 100 messages per channel as long as the channel is alive on servers (not empty).
    Photon Chat does not offer public chat channels' history persistence built-in but it gives you the ability to add it via Photon Chat WebHooks integration.
    However, we can't support or help you in building your own web service or choosing a third party one.
    We believe implementation is simple:
    • 2 endpoints that accept POST w/ JSON payload
    • one endpoint to get chat history and save it
    • one endpoint to get the previously saved chat history and return it