Module slack_bolt.context.set_status

Sub-modules

slack_bolt.context.set_status.async_set_status
slack_bolt.context.set_status.set_status

Classes

class SetStatus (client: slack_sdk.web.client.WebClient, channel_id: str, thread_ts: str)
Expand source code
class SetStatus:
    client: WebClient
    channel_id: str
    thread_ts: str

    def __init__(
        self,
        client: WebClient,
        channel_id: str,
        thread_ts: str,
    ):
        self.client = client
        self.channel_id = channel_id
        self.thread_ts = thread_ts

    def __call__(self, status: str) -> SlackResponse:
        return self.client.assistant_threads_setStatus(
            status=status,
            channel_id=self.channel_id,
            thread_ts=self.thread_ts,
        )

Class variables

var channel_id : str
var client : slack_sdk.web.client.WebClient
var thread_ts : str