aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastodon/statuses.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mastodon/statuses.py b/mastodon/statuses.py
index eb372d8..4c9e962 100644
--- a/mastodon/statuses.py
+++ b/mastodon/statuses.py
@@ -272,7 +272,7 @@ class Mastodon(Internals):
272 return self.status_post(status) 272 return self.status_post(status)
273 273
274 @api_version("3.5.0", "3.5.0", _DICT_VERSION_STATUS) 274 @api_version("3.5.0", "3.5.0", _DICT_VERSION_STATUS)
275 def status_update(self, id, status = None, spoiler_text = None, sensitive = None, media_ids = None, poll = None): 275 def status_update(self, id, status = None, spoiler_text = None, sensitive = None, media_ids = None, poll = None, content_type = None):
276 """ 276 """
277 Edit a status. The meanings of the fields are largely the same as in :ref:`status_post() <status_post()>`, 277 Edit a status. The meanings of the fields are largely the same as in :ref:`status_post() <status_post()>`,
278 though not every field can be edited. 278 though not every field can be edited.
@@ -285,7 +285,8 @@ class Mastodon(Internals):
285 sensitive = sensitive, 285 sensitive = sensitive,
286 spoiler_text = spoiler_text, 286 spoiler_text = spoiler_text,
287 poll = poll, 287 poll = poll,
288 edit = id 288 edit = id,
289 content_type = content_type
289 ) 290 )
290 291
291 @api_version("3.5.0", "3.5.0", _DICT_VERSION_STATUS_EDIT) 292 @api_version("3.5.0", "3.5.0", _DICT_VERSION_STATUS_EDIT)
Powered by cgit v1.2.3 (git 2.41.0)