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

Commit

Permalink
Enable mpim.replies method
Browse files Browse the repository at this point in the history
  • Loading branch information
os committed Jan 28, 2017
1 parent 4fae4d7 commit 4c8e4d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slacker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ def history(self, channel, latest=None, oldest=None, inclusive=False,
'unreads': int(unreads)
})

def replies(self, channel, thread_ts):
return self.get('mpim.replies',
params={'channel': channel, 'thread_ts': thread_ts})


class Search(BaseAPI):
def all(self, query, sort=None, sort_dir=None, highlight=None, count=None,
Expand Down

0 comments on commit 4c8e4d6

Please sign in to comment.