Skip to content

feat: Callback function for setReaction #314

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

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

Conversation

Danyal-noorani
Copy link

Description

This commit was made as there is no documentation or options that provide a way to perform an action when user changes reactions on a message.

What it does

Adds a callback function in ChatController to run when user changes reaction on a message.
Callback returns a Mesasge Object.

Usefull for projects using django websockets and/or to easily run custom functions when reactions on a message is changed

Checklist

  • The title of my PR starts with a [Conventional Commit] prefix (fix:, feat:, docs: etc).
  • I have followed the [Contributor Guide] when preparing my PR.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

@KTBsomen
Copy link

😂 I did the same thing and also i shortened the preview height

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.

2 participants