locked
mass messaging RRS feed

  • Question

  • Hi, using the Skype API, are there any suggested and allowed way to send mass messages to people? I want to build a messenger service that make use of Skype. It is a "one to many" messaging service so I'm asking for pointers and if it's allowed to build a mass messaging app that makes use of Skype.

    I am constructing a service where people can sign up to groups to receive messages from that group in their own chosen way and I would like to make Skype one of those options if possible.

    I am not building a spam machine. :)

    Tuesday, October 27, 2015 1:35 AM

Answers

  • You could achieve this by making use of the ConversationManager, Conversation, and ChatService objects by doing something similar to the following:

    var conversation = app.conversationManager.createConversation();
    app.conversationManager.conversations.add(conversation);
    
    // add people to be invited here...
    for (var i = 0; i < list_of_sips; i++) {
      conversation.participants.add(list_of_sips[i]);
    }
    conversation.chatService.start({
      message: "This message appears in the invite"
    }).then(function () {
      // chat has started...
      // send more messages via
      // conversation.chatService.sendMessage(...)
    });

    • Proposed as answer by Kai Strandskov [Msft] Wednesday, November 4, 2015 10:52 PM
    • Marked as answer by Gatsua Monday, November 16, 2015 8:00 PM
    Tuesday, November 3, 2015 3:59 AM

All replies

  • You could achieve this by making use of the ConversationManager, Conversation, and ChatService objects by doing something similar to the following:

    var conversation = app.conversationManager.createConversation();
    app.conversationManager.conversations.add(conversation);
    
    // add people to be invited here...
    for (var i = 0; i < list_of_sips; i++) {
      conversation.participants.add(list_of_sips[i]);
    }
    conversation.chatService.start({
      message: "This message appears in the invite"
    }).then(function () {
      // chat has started...
      // send more messages via
      // conversation.chatService.sendMessage(...)
    });

    • Proposed as answer by Kai Strandskov [Msft] Wednesday, November 4, 2015 10:52 PM
    • Marked as answer by Gatsua Monday, November 16, 2015 8:00 PM
    Tuesday, November 3, 2015 3:59 AM
  • Thank you for your reply.

    So I would need a "Skype for business" account. Am I then able to message people with normal accounts or am I only able to invite and message people that are also "Skype for business" accounts?

    Monday, November 16, 2015 9:02 PM