#!/usr/bin/env python3importzulip# Pass the path to your zuliprc file here.client=zulip.Client(config_file="~/zuliprc")# Mark the unread messages in stream 1's topic "topic_name" as readresult=client.mark_topic_as_read(1,topic_name)print(result)
The name of the topic whose messages should be marked as read.
Response
Example response(s)
Changes: As of Zulip 7.0 (feature level 167), if any
parameters sent in the request are not supported by this
endpoint, a successful JSON response will include an
ignored_parameters_unsupported array.