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

Long message multi-part tracking #74

Closed
McSwitch opened this issue Aug 17, 2018 · 1 comment
Closed

Long message multi-part tracking #74

McSwitch opened this issue Aug 17, 2018 · 1 comment

Comments

@McSwitch
Copy link
Contributor

Hi all,

Noticed that the library, when sending long messages, only returns the data for the last part of the multi-part message. This is due to the function only returning a single ShortMessage in the response:

func (t *Transmitter) SubmitLongMsg(sm *ShortMessage) (*ShortMessage, error) {

I would like to extend this function to return all parts of the multi-part message:

func (t *Transmitter) SubmitLongMsg(sm *ShortMessage) ([]ShortMessage, error) {

We could then keep track of the delivery status (via Delivery-Receipts) of each part of the multi-part message.

@fiorix
Copy link
Owner

fiorix commented Aug 28, 2018

Dup of #72

If there is a solution I'm happy to reopen both issues.

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