Table of Contents

Class ConversationSettings

Namespace
Signal.Application.Conversations
Assembly
Signal.Application.dll

Settings for one conversation (a group or a direct chat), overriding the global command options there. null values fall back to the global configuration.

public sealed record ConversationSettings : IEquatable<ConversationSettings>
Inheritance
ConversationSettings
Implements
Inherited Members

Properties

Culture

The conversation's language as a culture name (e.g. de-DE), for localised replies.

public string? Culture { get; init; }

Property Value

string

DisabledCommands

Commands that can't be used in this conversation, by full name (ban, playlist add) or group name (playlist disables the whole group). Case-insensitive.

public IReadOnlyList<string> DisabledCommands { get; init; }

Property Value

IReadOnlyList<string>

Prefixes

Command prefixes in this conversation instead of Signal:Commands:Prefixes, e.g. ["!"].

public IReadOnlyList<string>? Prefixes { get; init; }

Property Value

IReadOnlyList<string>

Methods

IsDisabled(CommandDescriptor)

Whether command is disabled here, by its full name or its group.

public bool IsDisabled(CommandDescriptor command)

Parameters

command CommandDescriptor

The command.

Returns

bool

true if the command must not run in this conversation.