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

Commit

Permalink
Merge pull request #106 from sehlat57/rtm.connect
Browse files Browse the repository at this point in the history
"connect" method added to RTM
  • Loading branch information
simonsolnes authored May 15, 2017
2 parents 2008a9b + 1d475ee commit 14eee3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slacker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,9 @@ def start(self, simple_latest=False, no_unreads=False, mpim_aware=False):
'mpim_aware': int(mpim_aware),
})

def connect(self):
return self.get('rtm.connect')


class TeamProfile(BaseAPI):
def get(self, visibility=None):
Expand Down Expand Up @@ -882,4 +885,3 @@ def __init__(self, token, incoming_webhook_url=None,
self.usergroups = UserGroups(token=token, timeout=timeout)
self.incomingwebhook = IncomingWebhook(url=incoming_webhook_url,
timeout=timeout)

0 comments on commit 14eee3d

Please sign in to comment.