public function create(string $body, array $toIds, \DateTime $limit = null): array
    {
        return $this->client->post(
            "rooms/{$this->roomId}/tasks",
            [
                'body' => $body,
                'to_ids' => implode(',', $toIds),
                'limit' => $limit instanceof \DateTime ? $limit->getTimestamp() : null,
            ]
        );
    }
public function create(string $body, array $toIds, \DateTime $limit = null): array
    {
        return $this->client->post(
            "rooms/{$this->roomId}/tasks",
            [
                'body' => $body,
                'to_ids' => implode(',', $toIds),
                'limit' => $limit instanceof \DateTime ? $limit->getTimestamp() : null,
            ]
        );
    }
@param string         $body
@param array          $toIds
@param \DateTime|null $limit

@return int[] task ids