public function markImAsRead(\AlfredSlack\Models\ImModel $im) { $teamId = $im->getAuth()->team_id; $model = $this->services[$teamId]; return $model->markImAsRead($im); }
public function markImAsRead(\AlfredSlack\Models\ImModel $im) { $now = time(); $this->commander->executeAsync('im.mark', ['channel' => $im->getId(), 'ts' => $now]); }