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 new messages counter/tip on page load #1

Open
gggvnr opened this issue Jul 27, 2021 · 2 comments
Open

get new messages counter/tip on page load #1

gggvnr opened this issue Jul 27, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@gggvnr
Copy link

gggvnr commented Jul 27, 2021

Hi! I am working on a custom chat button inside sidebar
And looking for some api reference to check if there are some new messages appeared til last page load
Something like onNewMessage callback, just to show some visual tip for user, but on init

@wilddeer
Copy link
Member

Hi there!

We don’t have anything to check the unread message count on our API at the moment, unfortunately.

However, whenever there’s a new message, a message balloon will be shown, like this one:
image

It might be better to just allow this balloon to be shown whenever there’s a new message for the visitor, but it depends on the desired behavior of your custom button.

@wilddeer wilddeer added the enhancement New feature or request label Jul 27, 2021
@gggvnr
Copy link
Author

gggvnr commented Jul 27, 2021

Thanks for response

Yep, you did great UX! But unfortunately we don't have free space for default implementation :)
So we decided to use it as mode: 'frame'

It could be a cool feature to get unread status on init :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants