diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 14:02:34 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 14:02:34 +0200 |
commit | 65e2596d9bad2ac0a0c434ccc89700bd8e5d12ff (patch) | |
tree | dcc95bc141b873bb4962764e1e86178f206b18b2 | |
parent | ac7196c443db8453ccb6c3c2407c9e844ea4cbae (diff) | |
download | mastodon.py-65e2596d9bad2ac0a0c434ccc89700bd8e5d12ff.tar.gz |
Add versioning and return val docs to conversation_read
-rw-r--r-- | mastodon/Mastodon.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index f5bf4ac..edb67f8 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1499,10 +1499,13 @@ class Mastodon: | |||
1499 | ### | 1499 | ### |
1500 | # Writing data: Conversations | 1500 | # Writing data: Conversations |
1501 | ### | 1501 | ### |
1502 | @api_version("2.6.0", "2.6.0", __DICT_VERSION_CONVERSATION) | ||
1502 | def conversations_read(self, id): | 1503 | def conversations_read(self, id): |
1503 | """ | 1504 | """ |
1504 | Marks a single conversation as read. | 1505 | Marks a single conversation as read. |
1505 | 1506 | ||
1507 | Returns the updated `conversation dict`_. | ||
1508 | |||
1506 | WARNING: This method is currently not documented in the official API and | 1509 | WARNING: This method is currently not documented in the official API and |
1507 | might therefore be unstable. | 1510 | might therefore be unstable. |
1508 | """ | 1511 | """ |