It would be very nice to have a method that sends messages to a group of recipients - let's say sendMessageToGroup (just like sendObjectToGroup). When using sendObjectToGroup for this purpose, neither the built in BadWordsFilter nor AntiFlood can be used.
Or am I wrong?
Thanks!
sendMessageToGroup
Thanks for your immediate answer, Lapo!
In my case there is an isometric chat view that is larger than the visible area, so users can walk around and "meet" different people depending on where they are. Messages should be sent only only to those users that are currently inside the visible area. Therefore I do not need any dropdown - the group ist collected automatically.
In my case there is an isometric chat view that is larger than the visible area, so users can walk around and "meet" different people depending on where they are. Messages should be sent only only to those users that are currently inside the visible area. Therefore I do not need any dropdown - the group ist collected automatically.
Hi,
the next update is planned for end of November/beginning of December.
And yep, I think that this feature is going to be added in the next release.
If you're in a hurry, you can easily implement it on the server side using the sendGenericMessage() method.
You just need to mimick the same XML format used by the public message and provide a custom list of recipients.
NOTE: if you plan to send the message across multiple rooms you might have problems detecting the sender on the client side. This is because each client only "knows" the users that exist in the room(s) that he has joined.
Hope it helps
the next update is planned for end of November/beginning of December.
And yep, I think that this feature is going to be added in the next release.
If you're in a hurry, you can easily implement it on the server side using the sendGenericMessage() method.
You just need to mimick the same XML format used by the public message and provide a custom list of recipients.
NOTE: if you plan to send the message across multiple rooms you might have problems detecting the sender on the client side. This is because each client only "knows" the users that exist in the room(s) that he has joined.
Hope it helps