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 8 (Latest)

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...
47dd9d235220cc648fc75332e98e33be3fb669be 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...