code: public function remove(Room $room, $actionType)
      {
          if ('leave' !== $actionType && 'delete' !== $actionType) {
              throw new InvalidArgumentException('ActionType is only leave or delete');
          }
  
          $this->client->delete(
              "rooms/{$room->roomId}",
              [
                  'action_type' => $actionType,
              ]
          );
      }
docs: グループチャットを退席/削除する.
  
  @param Room   $room
  @param string $actionType leave or delete
  
  @throws InvalidArgumentException