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

Send an array of messages [feature request] #65

Open
itsmelion opened this issue Aug 25, 2020 · 1 comment
Open

Send an array of messages [feature request] #65

itsmelion opened this issue Aug 25, 2020 · 1 comment

Comments

@itsmelion
Copy link

What i'm trying to achieve:

---message 1---
Hello! Welcome to my Coffee shop, check our menu:
---message 2---
Hot Drinks: - Mocca...
---message 3---
Cold Drinks: - Frappe...

I wish i could send a message to the conversation by array.
so far i've promisified and serialized to achieve this effect, but every once in a while it goes out of order.

Maybe is not up to the SDK, but i wish you consider something like this:

messagebird.conversations.reply('c0nv3R54t10n', {
  type: 'text',
  content: {
    text: [ // <-- Array
       'Hello! Welcome to my Coffee shop, check our menu:',
       'Hot Drinks: - Mocca...',
       'Cold Drinks: - Frappe...',
    ],
  },
};
@yilikun
Copy link

yilikun commented Jun 30, 2022

+1

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

2 participants