Is there a SendAllMessage?

Wilson's Avatar

Wilson

22 Jan, 2010 07:24 AM via web

Hi first of all thanks for this fantastic tool!

Is there a "SendAllMessage"? I looked in the API/help and couldn't find it.

I mean: usually my bot only interact with users on a one to one basis, very basic stuff. But just sometimes I need to broadcast a little message to all of them. I need to push the same message to bot all users from all networks.

Is there a simple "SendAllMessage" API method? If not, can you please implement it? For sure it is much easier, clean and less resource demanding than if I use both GetAllUsers/SendMessage, isn't it?

Thanks!

  1. 2 Posted by Wilson on 28 Jan, 2010 05:00 PM

    Wilson's Avatar

    And I thought It was an easy question.....

  2. Support Staff 3 Posted by Adam Kalsey on 28 Jan, 2010 05:23 PM

    Adam Kalsey's Avatar

    Sorry, thought I already replied to this. Apparently not.

    You can either provide a comma-seperated list of all userkeys you want
    to send to or put "all" as the userkey. The former method would be
    helpful if you want more control over who your mass message goes to.
    The latter is useful if you want a broadcast to everyone. Keep in mind
    that we have no idea which of your users have told you they don't want
    to get messages any more. So if you have some opt-out mechanism that a
    user has triggered, they will still be listed as a user on our end and
    we will send them a message if you ask us to.

    Because of this, "all" isn't documented and may be removed in a future
    release. It's probably a better idea to create your own list of users
    you want to send to and use the comma-seperated list method of
    sending.

    As far as resource usage on our end, it doesn't really matter to us.
    We're sending the same number of messages either way.

  3. 4 Posted by Wilson on 28 Jan, 2010 11:04 PM

    Wilson's Avatar

    Thanks for reply!

    "all" is perfect for me. I'll do some tests with it.

    And by the way, as resource usage is similar to you, I do suggest you to keep the "all" option for broadcast purposes. Can be useful and easier for other users (just is for me now).

    Thanks!

  4. 5 Posted by mlucas on 15 Oct, 2010 05:28 PM

    mlucas's Avatar

    It looks like we've answered this for you, so we're going to mark this question as resolved. If you have any questions, you can re-open this issue or send a new one in and we'll be glad to help.

    -Matt Lucas
    IMified Support

  5. mlucas closed this discussion on 15 Oct, 2010 05:28 PM.

Comments are currently closed for this discussion. You can start a new one.