MCPcopy
hub / github.com/slackapi/python-slack-sdk / channels_mark

Method channels_mark

slack_sdk/web/client.py:2573–2583  ·  view source on GitHub ↗

Sets the read cursor in a channel.

(
        self,
        *,
        channel: str,
        ts: str,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

2571 return self.api_call("channels.list", http_verb="GET", params=kwargs)
2572
2573 def channels_mark(
2574 self,
2575 *,
2576 channel: str,
2577 ts: str,
2578 **kwargs,
2579 ) -> SlackResponse:
2580 """Sets the read cursor in a channel."""
2581 kwargs.update({"channel": channel, "ts": ts})
2582 kwargs = _remove_none_values(kwargs)
2583 return self.api_call("channels.mark", json=kwargs)
2584
2585 def channels_rename(
2586 self,

Callers

nothing calls this directly

Calls 2

_remove_none_valuesFunction · 0.85
api_callMethod · 0.45

Tested by

no test coverage detected