Module: Slack::Web::Api::Endpoints::Rtm
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/rtm.rb
Instance Method Summary collapse
-
#rtm_connect(options = {}) ⇒ Object
Starts a Real Time Messaging session.
-
#rtm_start(options = {}) ⇒ Object
Starts a Real Time Messaging session.
Instance Method Details
#rtm_connect(options = {}) ⇒ Object
Starts a Real Time Messaging session.
17 18 19 |
# File 'lib/slack/web/api/endpoints/rtm.rb', line 17 def rtm_connect( = {}) post('rtm.connect', ) end |
#rtm_start(options = {}) ⇒ Object
Starts a Real Time Messaging session.
40 41 42 |
# File 'lib/slack/web/api/endpoints/rtm.rb', line 40 def rtm_start( = {}) post('rtm.start', ) end |