Class: Slack::API::IM
- Inherits:
-
Base
- Object
- Base
- Slack::API::IM
show all
- Defined in:
- lib/slack/api/im.rb
Instance Attribute Summary
Attributes inherited from Base
#default_args
Instance Method Summary
collapse
Methods inherited from Base
#get, #initialize
Instance Method Details
#history(args = {}) ⇒ Object
4
5
6
7
8
|
# File 'lib/slack/api/im.rb', line 4
def history(args = {})
fail ArgumentError, 'channel is required' unless args.key?(:channel)
get('im.history', args)
end
|
#list(args = {}) ⇒ Object
10
11
12
|
# File 'lib/slack/api/im.rb', line 10
def list(args = {})
get('im.list', args)
end
|