Class ChatRoomParams
Object defining parameters for a Linphone.ChatRoom.
Can be created with Linphone.Core.CreateDefaultChatRoomParams(). You can use Linphone.ChatRoomParams.IsValid() to check if your configuration is valid or not. If the Linphone.ChatRoom backend is Linphone.ChatRoomBackend.Basic, then no other parameter is required, but Linphone.ChatMessage sent and received won't benefit from all features a Linphone.ChatRoomBackend.FlexisipChat can offer like conversation with multiple participants and a subject, end-to-end encryption, ephemeral messages, etc... but this type is the only one that can interoperate with other SIP clients or with non-flexisip SIP proxies.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class ChatRoomParams : LinphoneObject
Properties
Backend
Get the backend implementation of the chat room associated with the given parameters.
Declaration
[Obsolete]
public ChatRoomBackend Backend { get; set; }
Property Value
| Type | Description |
|---|---|
| ChatRoomBackend |
Remarks
Deprecated : 20/05/2024. Use Linphone.ChatParams.Backend instead.
EncryptionBackend
Get the encryption implementation of the chat room associated with the given parameters.
Declaration
[Obsolete]
public ChatRoomEncryptionBackend EncryptionBackend { get; set; }
Property Value
| Type | Description |
|---|---|
| ChatRoomEncryptionBackend |
Remarks
Deprecated : 20/05/2024. Use Linphone.ChatParams.EncryptionBackend instead.
EncryptionEnabled
Get the encryption status of the chat room associated with the given parameters.
Declaration
[Obsolete]
public bool EncryptionEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true if encryption is enabled, false otherwise |
Remarks
Deprecated : 20/05/2024. Use Linphone.ChatParams.EncryptionEnabled() instead.
EphemeralLifetime
Get lifetime (in seconds) for all new ephemeral messages in the chat room.
After the message is read, it will be deleted after "time" seconds.
Declaration
[Obsolete]
public int EphemeralLifetime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | the ephemeral lifetime (in seconds) |
Remarks
See : linphone_chat_room_params_ephemeral_enabled()
EphemeralMode
Get the ephemeral message mode of the chat room associated with the given parameters.
Declaration
[Obsolete]
public ChatRoomEphemeralMode EphemeralMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ChatRoomEphemeralMode | the ephemeral message mode Linphone.ChatRoomEphemeralMode |
Remarks
Deprecated : 20/05/2024. Use Linphone.ChatParams.EphemeralMode instead.
GroupEnabled
Get the group chat status of the chat room associated with the given parameters.
Declaration
[Obsolete]
public bool GroupEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true if group chat is enabled, false if one-on-one |
Remarks
Deprecated : 20/05/2024. Use Linphone.ConferenceParams.GroupEnabled() instead.
IsValid
Returns whether the given parameters are valid or not.
Declaration
[Obsolete]
public bool IsValid { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true if the given parameters are valid, false otherwise |
Remarks
Deprecated : 20/05/2024. Use Linphone.ConferenceParams.IsValid() instead.
RttEnabled
Get the real time text status of the chat room associated with the given parameters.
Declaration
[Obsolete]
public bool RttEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true if real time text is enabled, false otherwise |
Remarks
Deprecated : 20/05/2024. Use Linphone.ChatParams.RttEnabled() instead.
Subject
Get the subject of the chat room.
Declaration
[Obsolete]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The subject. @maybenil |
Remarks
Deprecated : 20/05/2024. Use Linphone.ConferenceParams.Subject instead.