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
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
Prefixes
Command prefixes in this conversation instead of Signal:Commands:Prefixes, e.g. ["!"].
public IReadOnlyList<string>? Prefixes { get; init; }
Property Value
Methods
IsDisabled(CommandDescriptor)
Whether command is disabled here, by its full name or its group.
public bool IsDisabled(CommandDescriptor command)
Parameters
commandCommandDescriptorThe command.