Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMS with multiple recipients not creating group #123

Open
tomredman opened this issue Jun 7, 2023 · 0 comments
Open

MMS with multiple recipients not creating group #123

tomredman opened this issue Jun 7, 2023 · 0 comments

Comments

@tomredman
Copy link

Hey all,

We have a paid plan, and an approved A2P 10DLC number through MessageBird. When I tried to send a group MMS – one that creates a group with 3 participants – it just sends two individual SMS (or two MMS' if I include an attachment, like an image):

var mb = require("messagebird");
const messagebird = mb.initClient(<redacted>);

var params = {
  recipients: ["15556667777", "15558889999"],
  originator: "15552223333", //our 10DLC number
  subject: "Check out this cool MMS",
  body: "Have you seen this logo?",
  mediaUrls: [
    "https://example.com/image.png",
  ],
};

messagebird.mms.create(params, function (err, response) {
  if (err) {
    return console.log(err);
  }
  console.log(response);
});

How can we use the API to create a group conversation with 3 participants via MMS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant