Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit 34b1942

Browse files
committed
Add im.replies method
1 parent 8255222 commit 34b1942

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

slacker/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ def history(self, channel, latest=None, oldest=None, count=None,
343343
'unreads' : int(unreads)
344344
})
345345

346+
def replies(self, channel, thread_ts):
347+
return self.get('im.replies',
348+
params={'channel': channel, 'thread_ts': thread_ts})
349+
346350
def mark(self, channel, ts):
347351
return self.post('im.mark', data={'channel': channel, 'ts': ts})
348352

0 commit comments

Comments
 (0)