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

😈 [Improvement Proposal] - Add the ability to fetch single messages with chatId and cid #1386

Closed
kinga112 opened this issue Aug 25, 2024 · 0 comments

Comments

@kinga112
Copy link

Proposal name

Fetch one message

Describe the Proposal

Fetch one message using chatId and cid.

Use Case

If you want to load more than 30 messages, but you don't want it to take a while and you create a recursive function to fetch and display messages. If a reply type is referenced to a message from 30+ messages ago, that message will not be found. Be able to look up the single message so data can be fetched and referenced.

Current Limitations

Need an efficient way to fetch messages quickly but also find references to messages that might not be included in chat.history.

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

No branches or pull requests

1 participant