63818df4b5
Implement configuration system with embedded TOML resources for agent and provider definitions, custom IConfigurationSource/Provider for agent and provider options, and DI extension methods. Includes config models for agents, providers, sessions, and Telegram integration.
10 lines
274 B
C#
10 lines
274 B
C#
namespace Luna.Configuration;
|
|
|
|
public class TelegramOptions
|
|
{
|
|
public required string BotToken { get; init; }
|
|
public string? WebhookUrl { get; init; }
|
|
public int PollingTimeoutSeconds { get; init; } = 30;
|
|
public string[] AllowedUserIds { get; init; } = [];
|
|
}
|