> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.ChatPresence

# <a id="SuperOffice_WebApi_Data_ChatPresence" /> Class ChatPresence

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for ChatPresence.
Represents presence information for a chat user, bundled with some other useful information

```csharp theme={null}
public class ChatPresence : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[ChatPresence](SuperOffice.WebApi.Data.ChatPresence.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_ChatPresence__ctor" /> ChatPresence()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public ChatPresence()
```

## Properties

### <a id="SuperOffice_WebApi_Data_ChatPresence_ChatTopics" /> ChatTopics

An array of ids with chat topics that this user is a member of

```csharp theme={null}
public virtual int[] ChatTopics { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)\[]

### <a id="SuperOffice_WebApi_Data_ChatPresence_DisplayName" /> DisplayName

The display name of the chat user

```csharp theme={null}
public virtual string DisplayName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_ChatPresence_OngoingChats" /> OngoingChats

The number of ongoing chats this users has now

```csharp theme={null}
public virtual int OngoingChats { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_ChatPresence_Present" /> Present

Indicates if the user has the chat presence turned on or off

```csharp theme={null}
public virtual bool Present { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_ChatPresence_UserId" /> UserId

The id for the chat user

```csharp theme={null}
public virtual int UserId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

## See Also

[ChatAgent](SuperOffice.WebApi.Agents.ChatAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.Chat SaveChatPresenceRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Chat_SaveChatPresenceRequest.md)
- [SuperOffice.WebApi.Agents.ChatAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ChatAgent.md)
- [SuperOffice.WebApi.Agents.IChatAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IChatAgent.md)
- [SuperOffice.WebApi.Data.Chat GetChatPresenceRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Chat_GetChatPresenceRequest.md)
- [SuperOffice.WebApi.Data.UserPresenceStatus](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPresenceStatus.md)
- [SuperOffice.WebApi.Data.User GetUserPresenceStatusRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.User_GetUserPresenceStatusRequest.md)
