Files
BotPages/BotPages.Telegram/TelegramOptions.cs

15 lines
440 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace BotPages.Telegram;
/// <summary>
/// Настройки адаптера Telegram, применяемые по умолчанию при отправке сообщений.
/// </summary>
public sealed class TelegramOptions
{
/// <summary>
/// Отправлять ли уведомление (sound) при отправке сообщения. По умолчанию true.
/// </summary>
public bool NotifyOnSend { get; set; } = true;
// В будущем можно добавить: default parse mode, disable web page preview и т.д.
}