Add typing/modernizations to BaseChatIntegration and allow using emoji unicode blocks in chats.

Review Request #13749 — Created April 22, 2024 and submitted — Latest diff uploaded

Information

rbintegrations
release-4.x

Reviewers

This change mainly adds typing and modernizations to our chat integration
class. Additionally, we deprecate non-keyword arguments in most of their
methods for easier expansion in the future.

We also give subclasses the option to use unicode blocks to represent
emojis in chat messages instead of shortcodes. This will be useful for the
upcoming Microsoft Teams integration, because Microsoft Teams can't interpret
emoji short codes.

Ran unit tests.

Diff Revision 5

This is not the most recent revision of the diff. The latest diff is revision 8. See what's changed.

orig
1
2
3
4
5
6
7
8

Commits

First Last Summary ID Author
Add typing and modernizations to chat integrations and allow using emoji unic...
8287cc38c6d7d6e660f93004d5938460e49fe6f2 Michelle Aubin
rbintegrations/basechat/integration.py
rbintegrations/discord/integration.py
rbintegrations/discord/tests.py
rbintegrations/matrix/integration.py
rbintegrations/mattermost/integration.py
rbintegrations/mattermost/tests.py
rbintegrations/slack/integration.py
rbintegrations/slack/tests.py
Loading...