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
This method begins a Real Time Messaging API session and reserves your application a specific URL with which to connect via websocket.
-
#rtm_start(options = {}) ⇒ Object
This method begins a Real Time Messaging API session and reserves your application a specific URL with which to connect via websocket.
Instance Method Details
#rtm_connect(options = {}) ⇒ Object
This method begins a Real Time Messaging API session and reserves your application a specific URL with which to connect via websocket.
13 14 15 |
# File 'lib/slack/web/api/endpoints/rtm.rb', line 13 def rtm_connect( = {}) post('rtm.connect', ) end |
#rtm_start(options = {}) ⇒ Object
This method begins a Real Time Messaging API session and reserves your application a specific URL with which to connect via websocket.
30 31 32 |
# File 'lib/slack/web/api/endpoints/rtm.rb', line 30 def rtm_start( = {}) post('rtm.start', ) end |