# Message

## Properties

`Read only unsigned short Id, used to Identitfy Message while sending and receving Newtork Message`

```csharp
public readonly ushort Id;
```

`For internal use only, it is used to identify inline Messages`

```csharp
public byte callbackId;
```

`A Message Payload will be delivered after getting encrypted if set true`&#x20;

```csharp
public bool IsEncrypted;
```

`Data to be sent`

```csharp
public object Payload { get; set; }
```

## Constructors

```csharp
public Message(ushort msgId, object payload);
public Message(ushort msgId, object payload, bool isEncrypted);
```
