Skip to content

Get message_id when sending sms #246

Answered by micartey
micartey asked this question in Q&A
Discussion options

You must be logged in to vote

I resolved the issue by entering a lock when sending an SMS and releasing it when all parts can be associated with a message_id provided by the set_message_sent_handler. The time we are waiting is neglectable as the handler is usually called before the second part of the message is processed.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eigenein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #245 on January 08, 2024 11:32.