aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py
index 4a33989..ba76803 100644
--- a/slack/slack_conversation.py
+++ b/slack/slack_conversation.py
@@ -121,6 +121,9 @@ class SlackConversation(SlackBuffer):
info_response = await workspace.api.fetch_conversations_info(conversation_id)
return cls(workspace, info_response["channel"])
+ def __repr__(self):
+ return f"{self.__class__.__name__}({self.workspace}, {self.id})"
+
@property
def id(self) -> str:
return self._info["id"]