mirror of https://github.com/zulip/zulip.git
25dbe35747
Now, the `Client.do_api_query()` method supports sending files to the API. This has allowed the implementation of a new method, `Client.upload_file(file)`. It simply uploads the file set in the parameter, and returns the API's response (that includes the URI). Despite the fact that `do_api_query()` supports multiple files as parameters, `upload_file()` doesn't, because right now the API isn't capable of managing more than a file in the same request. |
||
---|---|---|
.. | ||
__init__.py |