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

Message_id from sent a message is different to events.Receipt #343

Closed
hasanbasri1993 opened this issue Feb 19, 2023 · 1 comment
Closed

Comments

@hasanbasri1993
Copy link

Hello.
i try to send 2 messages

2023-02-19T21:27:47+07:00 INF Message sent host=0.0.0.0 id=3EB0CEB8C8807CC3046A role=main timestamp="{0 63812413667 34498624}"
2023-02-19T21:27:47+07:00 INF Message sent to 628221354*****@s.whatsapp.net host=0.0.0.0 role=main
{"Details":"Sent","Id":"**3EB0CEB8C8807CC3046A**","Timestamp":"2023-02-19T21:27:47+07:00"}
Terakhir
2023-02-19T21:27:47+07:00 INF Message delivered host=0.0.0.0 id=3EB09FBEA2DEE37519EC role=main source="6282213542319.0:81@s.whatsapp.net in 628221354*****@s.whatsapp.net" timestamp="{0 63812413667 34498624}"
Receipt:  3EB09FBEA2DEE37519EC delivered 2023-02-19 21:27:47 +0700 WIB
2023-02-19T21:27:47+07:00 INF Calling webhook host=0.0.0.0 role=main url=https://71264364cd83236c47c011845478876732b.m.pipedream.net
2023-02-19T21:27:47+07:00 INF Sending POST host=0.0.0.0 role=main url=https://71264364cd83236c47c0118788435376732b.m.pipedream.net
2023-02-19T21:27:49+07:00 INF Message delivered host=0.0.0.0 id=3EB09FBEA2DEE37519EC role=main source=628221354*****@s.whatsapp.net timestamp="{0 63812413669 34498624}"
Receipt:  3EB09FBEA2DEE37519EC delivered 2023-02-19 21:27:49 +0700 WIB
2023-02-19T21:27:49+07:00 INF Calling webhook host=0.0.0.0 role=main url=https://71264364cd83236c47c011873458876732b.m.pipedream.net
2023-02-19T21:27:49+07:00 INF Sending POST host=0.0.0.0 role=main url=https://71264364cd83236c47c011878345876732b.m.pipedream.net
2023-02-19T21:27:49+07:00 INF Message sent host=0.0.0.0 id=3EB052A6E948D7291554 role=main timestamp="{0 63812413669 34498624}"
2023-02-19T21:27:49+07:00 INF Message sent to 628221354*****@s.whatsapp.net host=0.0.0.0 role=main
{"Details":"Sent","Id":"**3EB052A6E948D7291554**","Timestamp":"2023-02-19T21:27:49+07:00"}
2023-02-19T21:27:49+07:00 INF Message delivered host=0.0.0.0 id=3EB019C68A3B9F8737AE role=main source="6282213542319.0:81@s.whatsapp.net in628221354*****@s.whatsapp.net" timestamp="{0 63812413669 34498624}"
Receipt:  **3EB019C68A3B9F8737AE** delivered 2023-02-19 21:27:49 +0700 WIB
2023-02-19T21:27:49+07:00 INF Calling webhook host=0.0.0.0 role=main url=https://71264364cd83236c47c011878345876732b.m.pipedream.net
2023-02-19T21:27:49+07:00 INF Sending POST host=0.0.0.0 role=main url=https://71264364cd83236c47c011834578876732b.m.pipedream.net
2023-02-19T21:27:50+07:00 INF Message delivered host=0.0.0.0 id=3EB019C68A3B9F8737AE role=main source=62822135*****@s.whatsapp.net timestamp="{0 63812413670 34498624}"
Receipt:  **3EB019C68A3B9F8737AE** delivered 2023-02-19 21:27:50 +0700 WIB
2023-02-19T21:27:50+07:00 INF Calling webhook host=0.0.0.0 role=main url=https://71264364cd83236c47c011856778876732b.m.pipedream.net
2023-02-19T21:27:50+07:00 INF Sending POST host=0.0.0.0 role=main url=https://71264364cd83236c47c011567878876732b.m.pipedream.net
  1. First message i got id 3EB0CEB8C8807CC3046A,
  2. Second message i got id 3EB052A6E948D7291554

But from events.Receipt

  1. First message i got id 3EB09FBEA2DEE37519EC
  2. Second message 3EB019C68A3B9F8737AE
@hasanbasri1993
Copy link
Author

solved by adding message_id SendRequestExtra
https://pkg.go.dev/go.mau.fi/whatsmeow#SendRequestExtra

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