Method: ChatWork::Task.create
- Defined in:
- lib/chatwork/task.rb
.create(room_id:, body:, to_ids:, limit: nil, limit_type: nil) {|response_body, response_header| ... } ⇒ Hashie::Mash
Add a new task to the chat
67 68 69 |
# File 'lib/chatwork/task.rb', line 67 def self.create(room_id:, body:, to_ids:, limit: nil, limit_type: nil, &block) ChatWork.client.create_task(room_id: room_id, body: body, to_ids: to_ids, limit: limit, limit_type: limit_type, &block) end |