-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(chat/messages): Implement retrieving thread messages #230
base: main
Are you sure you want to change the base?
Conversation
- add `listThreadMessages` boolean to enable slack map list thread messages - add `threadId` string to pass in thread destination
- implement retrieving thread messages for slack map - make discord map compatible with same format of input parameters as slack map - filter parent messages of threads when listing thread messages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I think this approach is flawed, but maybe I misunderstand the context
listThreadMessages
seems redundant since it always needs to be set together withthreadId
- But maybe it is needed and I can set
threadId
withlistThreadMessages = false
? - Would it make sense to put this rather into a separate use case?
@@ -3,7 +3,7 @@ Chat Messages | |||
Retrieve chat messages. | |||
""" | |||
name = "chat/messages" | |||
version = "1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional properties are minor version change (new features).
Discord is able to get thread messages passing threadId as destination but slack has to specify thread id along with it which is not required in profile. I can create new use-case for it which would remove |
Description
Extends use-case
GetMessages
in profilechat/messages
with new fields:listThreadMessages
: boolean that represents whether to list messages from channel or thread destination.threadId
: string that represents thread idMotivation and Context
Implement getting thread messages for slack.
Types of changes
Checklist: