mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
- Add _to_command_response_proto helper to convert dict/wrapper/protobuf to CommandResponse protobuf - Plugin developers can now return plain dicts with response_type, text, etc. - Also supports CommandResponse wrapper class and raw protobufs - Export CommandResponse from mattermost_plugin package This fixes the "ExecuteCommand returned unexpected type: <class 'dict'>" error when Python plugin handlers return dict responses.
257 KiB
257 KiB