Search code examples
asp.netcometpokein

Pokein - How can i catch the offline message using Pokein library?


I've tried to do a chat application using PokeIn. How can I do a offline messages when user is not in a chat and I'll try to send to him a message? How can I catch a unsent messages?

For example: SendToClient(CLIENT_ID_33, "Message");

User with ID 33 is not a chat and I want to save the message to a database? How can I catch this message?


Solution

  • This is something you need to implement manually. You may call a server method from the client every time the user was able to get it.