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

Get chat #48

Closed
mohammad-sky opened this issue Apr 1, 2022 · 4 comments
Closed

Get chat #48

mohammad-sky opened this issue Apr 1, 2022 · 4 comments

Comments

@mohammad-sky
Copy link
Contributor

hi kalebu
I think if this library can get the last chat of the user is It will be great

@euriconicacio
Copy link
Collaborator

Hi, @sepehrmizani. When you say "the last chat" you mean the first conversation on the top of right-side list?

@mohammad-sky
Copy link
Contributor Author

mohammad-sky commented Jun 7, 2022

Hi @euriconicacio I mean the last message sent to the user
For each user
For example, when you open my chat, the last message I sent

@euriconicacio
Copy link
Collaborator

Awesome, we have a PR up for review that solves that issue. It's a tricky situation indeed, since the chats are not "ordered", but we managed to work that around.

@euriconicacio
Copy link
Collaborator

euriconicacio commented Jun 18, 2022

@sepehrmizani - sorry, I misunderstood your previous message, my mistake. Just added the get_last_message_received that solves your issue. Enjoy!

cc @Kalebu, FYI. Important update, along with others delivered during the day.

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

2 participants