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

Handle other WhatsApp for Android system messages (#2400) #2401

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

wladimirleite
Copy link
Member

Closes #2400.

@lfcnassif
Copy link
Member

Thank you @wladimirleite! I'll delay this until #2399 is finished, ok?

@wladimirleite
Copy link
Member Author

Thank you @wladimirleite! I'll delay this until #2399 is finished, ok?

Sure!

@gfd2020
Copy link
Collaborator

gfd2020 commented Jan 17, 2025

Hi @wladimirleite . I found some other new messages. Can I share it here?

@wladimirleite
Copy link
Member Author

Hi @wladimirleite . I found some other new messages. Can I share it here?

I usually found easier to implement these changes while working the devices, so I can check the behavior and the exact message displayed.
But you can share them here, so we can decide how to implement the code to support them.

@gfd2020
Copy link
Collaborator

gfd2020 commented Jan 17, 2025

I usually found easier to implement these changes while working the devices, so I can check the behavior and the exact message displayed. But you can share them here, so we can decide how to implement the code to support them.

Right. See if you find what I found.


messageType = 19 -> "This business sent a message that can't be opened"


messageType = 55 -> Text with Some kind of external link sent by business. Belongs to message_ui_elements.
So just add it to the messageType switch...
case 45:
case 55:
result = UI_ELEMENTS;


messageType = 99 -> Appears before a batch of shared photos (videos?)


messageType = 7, ActionType = 169 -> event updated. Need more research on how events appear. I believe that events are created in communities...


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

Successfully merging this pull request may close these issues.

Handle other WhatsApp for Android System Message Types
3 participants