Skip to content

feat: support for checking message capping and reachout timelock limits#1104

Open
gusquadri wants to merge 2 commits intotulir:mainfrom
gusquadri:xwa-limits
Open

feat: support for checking message capping and reachout timelock limits#1104
gusquadri wants to merge 2 commits intotulir:mainfrom
gusquadri:xwa-limits

Conversation

@gusquadri
Copy link
Copy Markdown
Contributor

Adds support for checking account messaging limits through MEX.

It introduces:

  • helper to fetch new chat message capping information
  • helper to fetch account reachout timelock information
  • typed response models for both payloads

This was discovered in collaboration with @purpshell and other community members.
It should help users handle error 463 by allowing them to manually check these limits on the implementation side.

@purpshell
Copy link
Copy Markdown
Contributor

Related/based on: WhiskeySockets/Baileys#2442

Copy link
Copy Markdown
Contributor

@purpshell purpshell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good implementation

Comment thread types/limits.go Outdated
Comment thread types/limits.go Outdated
Comment thread types/limits.go Outdated
Comment thread types/limits.go Outdated
@gusquadri gusquadri requested a review from purpshell March 25, 2026 16:34
@zhamghaoran
Copy link
Copy Markdown
Contributor

If you have any questions, I can provide some of the XML messages for these messages.
Previously, I processed these messages by querying logs, but now I can finally integrate them into the program!!!

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.

3 participants