We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a374e5 commit aae9390Copy full SHA for aae9390
nc_py_api/talk_bot.py
@@ -76,11 +76,17 @@ def conversation_token(self) -> str:
76
77
It can be used to react or reply to the given message.
78
"""
79
+ # bot join
80
+ if self.message_type == "Join":
81
+ return self._raw_data["object"]["id"]
82
return self._raw_data["target"]["id"]
83
84
@property
85
def conversation_name(self) -> str:
86
"""The name of the conversation in which the message was posted."""
87
88
89
+ return self._raw_data["object"]["name"]
90
return self._raw_data["target"]["name"]
91
92
def __repr__(self):
0 commit comments