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. |
||
---|---|---|
.. | ||
create-user | ||
edit-message | ||
get-public-streams | ||
list-members | ||
list-subscriptions | ||
print-events | ||
print-messages | ||
recent-messages | ||
send-message | ||
subscribe | ||
unsubscribe | ||
upload-file | ||
zuliprc |