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

Sending messages via Infobip supports only one number #107

Open
dsmoljanovic opened this issue Nov 22, 2021 · 0 comments
Open

Sending messages via Infobip supports only one number #107

dsmoljanovic opened this issue Nov 22, 2021 · 0 comments

Comments

@dsmoljanovic
Copy link
Contributor

dsmoljanovic commented Nov 22, 2021

When sending SMS to Infobip provider only the first number receives it; others don't get anything. This line here shows that only first member is picked and others ignored

dataMap := map[string]string{"from": message.From, "to": message.To[0], "text": message.Text}

Infobip API supports sending to multiple destinations. Also, perhaps shift to use newer API (https://www.infobip.com/docs/api#channels/sms/send-sms-message)

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