-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
feat: Event
messages
#3345
base: main
Are you sure you want to change the base?
feat: Event
messages
#3345
Conversation
be8a3a7
to
2f598f4
Compare
2f598f4
to
300e9dc
Compare
wow love it! |
The event edit is not getting and unique identifier? how is it mapping the new Event(....) to the one i want to edit? |
LGTM... But I don't think we should use the name "Event", maybe it will cause confusion in other parts |
f06fb08
to
3dd959b
Compare
@tuyuribr fixed |
PR Details
Description
The PR adds a new functionality for scheduled event messages:
Client.sendMessage
which supports now the sending of scheduled event messages.Client.createCallLink
for generating a WhatsApp call link (video call or voice call).Client.sendResponseToScheduledEvent
for responding to the scheduled event message, indicating whether a user is going to attend the event or not.Message.editScheduledEvent
for editing the existing event message or for canceling the event.Usage Example
1. To create and send a scheduled event message:
2. To create a WhatsApp call link:
3. To respond to a scheduled event:
4. To edit a scheduled event message (or to cancel an event):
To try this PR by yourself you can run one of the following commands:
How Has The PR Been Tested
Tested with a code provided in usage example.
Types of Changes
Checklist