Method: Slack::Endpoint::Channels#channels_mark
- Defined in:
- lib/slack/endpoint/channels.rb
#channels_mark(options = {}) ⇒ Object
Sets the read cursor in a channel.
160 161 162 163 164 |
# File 'lib/slack/endpoint/channels.rb', line 160 def channels_mark(={}) throw ArgumentError.new("Required arguments :channel missing") if [:channel].nil? throw ArgumentError.new("Required arguments :ts missing") if [:ts].nil? post("channels.mark", ) end |