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

feat: change mid to string array #745

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

medtaher123
Copy link
Contributor

Motivation

Changed the mid field in the Message schema from string to [string].

Reason for the Change:

In some channels (like Slack), certain elements must be sent as multiple separate messages. For example:

  • An attachment with a quick reply in Slack requires two separate messages, each with its own mid.

To handle this, we now store mid as an array of strings in our message object, allowing multiple message IDs to be linked to a single logical message in our database.

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.

1 participant