diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 7561cea..d4c458f 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1555,6 +1555,11 @@ class Mastodon: | |||
1555 | ### | 1555 | ### |
1556 | @api_version("2.7.0", "2.7.0", __DICT_VERSION_SCHEDULED_STATUS) | 1556 | @api_version("2.7.0", "2.7.0", __DICT_VERSION_SCHEDULED_STATUS) |
1557 | def update_scheduled_status(self, id, scheduled_at): | 1557 | def update_scheduled_status(self, id, scheduled_at): |
1558 | """ | ||
1559 | Update the scheduled time of a scheduled status. | ||
1560 | |||
1561 | New time must be at least 5 minutes into the future. | ||
1562 | """ | ||
1558 | scheduled_at = scheduled_at.isoformat() | 1563 | scheduled_at = scheduled_at.isoformat() |
1559 | id = self.__unpack_id(id) | 1564 | id = self.__unpack_id(id) |
1560 | self.__generate_params(locals(), ['id']) | 1565 | self.__generate_params(locals(), ['id']) |