diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 02:08:26 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 02:08:26 +0200 |
commit | 8e0d8a5c4e1e3f7ff6a23fe936388ca9fbdba990 (patch) | |
tree | ab49ab1fc2f2176ffc391f000d68b14551c4d61f /mastodon | |
parent | 6f807daf5a06a10b747eeee8c4302ce2f0a74f96 (diff) | |
download | mastodon.py-8e0d8a5c4e1e3f7ff6a23fe936388ca9fbdba990.tar.gz |
Bump version on status_reply and toot
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 1d23fad..1104028 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1312,7 +1312,7 @@ class Mastodon: | |||
1312 | params = self.__generate_params(params_initial, ['idempotency_key']) | 1312 | params = self.__generate_params(params_initial, ['idempotency_key']) |
1313 | return self.__api_request('POST', '/api/v1/statuses', params, headers = headers) | 1313 | return self.__api_request('POST', '/api/v1/statuses', params, headers = headers) |
1314 | 1314 | ||
1315 | @api_version("1.0.0", "2.0.0", __DICT_VERSION_STATUS) | 1315 | @api_version("1.0.0", "2.4.3", __DICT_VERSION_STATUS) |
1316 | def toot(self, status): | 1316 | def toot(self, status): |
1317 | """ | 1317 | """ |
1318 | Synonym for `status_post()`_ that only takes the status text as input. | 1318 | Synonym for `status_post()`_ that only takes the status text as input. |
@@ -1323,7 +1323,7 @@ class Mastodon: | |||
1323 | """ | 1323 | """ |
1324 | return self.status_post(status) | 1324 | return self.status_post(status) |
1325 | 1325 | ||
1326 | @api_version("1.0.0", "2.3.0", __DICT_VERSION_STATUS) | 1326 | @api_version("1.0.0", "2.4.3", __DICT_VERSION_STATUS) |
1327 | def status_reply(self, to_status, status, media_ids=None, sensitive=False, visibility=None, | 1327 | def status_reply(self, to_status, status, media_ids=None, sensitive=False, visibility=None, |
1328 | spoiler_text=None, language=None, idempotency_key=None, untag=False): | 1328 | spoiler_text=None, language=None, idempotency_key=None, untag=False): |
1329 | """ | 1329 | """ |