---
id: "P:cAlgo.API.RobotStartDialog.RobotType"
kind: "property"
type: "T:cAlgo.API.RobotStartDialog"
url: "https://help.ctrader.com/ctrader-algo/references/Dialogs/RobotStartDialog/RobotType/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# RobotStartDialog.RobotType

Member of [RobotStartDialog](https://help.ctrader.com/ctrader-algo/references/Dialogs/RobotStartDialog/index.md).

## RobotType

Gets or sets the Robot Type.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: No dialog can be shown in the CLI: ShowDialog returns without showing anything.
- Cloud: No dialog can be shown in the cloud: ShowDialog returns without showing anything.

C#:

```csharp
public RobotType RobotType {get; set;}
```

Python:

```python
robotStartDialog.RobotType: RobotType
```

### Returns

`RobotType` — 

Available since cAlgo.API 5.1.

### Examples

C#:

```csharp
if (AlgoRegistry.Get("Sample Breakout", AlgoKind.Robot) is RobotType robotType)
{
    var robotStartDialog = new RobotStartDialog(robotType);
    Print("Dialog cBot: {0}", robotStartDialog.RobotType.Name);
}
```

Python:

```python
algoType = api.AlgoRegistry.Get("Sample Breakout", AlgoKind.Robot)
if algoType is not None:
    robotStartDialog = RobotStartDialog(RobotType(algoType))
    api.Print(f"Dialog cBot: {robotStartDialog.RobotType.Name}")
```

