zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
355 stars 357 forks source link

`ignored_parameters_unsupported` in `update_message`'s response #789

Open tmichela opened 1 year ago

tmichela commented 1 year ago

Hi,

I noticed that editing a message always return a ignored_parameters_unsupported for the message_id parameter, which is obviously a necessary parameter for this method (and is also documented here).

A simple example triggering the issue:

In [1]: c.update_message({
    ...:     'message_id': 12345,
    ...:     'topic':'✔ something',
    ...:     'propagate_mode': 'change_all'})
Out[1]: 
{'result': 'success',
 'msg': '',
 'ignored_parameters_unsupported': ['message_id']}

The same problem is not happening if I use curl instead of the python api.

zulip version: Python api: 0.8.2 server (zulip cloud): 8.0-dev-692-g16eb484152

Cheers, Thomas