* Added missing summaries
This commit is contained in:
@@ -175,5 +175,31 @@
|
|||||||
Initializes the bot and logs handlers on application startup.
|
Initializes the bot and logs handlers on application startup.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:Telegrator.WideBotOptions">
|
||||||
|
<summary>
|
||||||
|
Represents configuration options for initializing and customizing the behavior of a WideBot instance.
|
||||||
|
</summary>
|
||||||
|
<remarks>Use this class to specify required API credentials, optional proxy settings, update handling
|
||||||
|
preferences, and SQL command detection for WideBot. All required properties must be set before using the options
|
||||||
|
with a WideBot instance.
|
||||||
|
</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="P:Telegrator.WideBotOptions.ApiId">
|
||||||
|
<inheritdoc cref="P:Telegram.Bot.WTelegramBotClientOptions.ApiId"/>
|
||||||
|
</member>
|
||||||
|
<member name="P:Telegrator.WideBotOptions.ApiHash">
|
||||||
|
<inheritdoc cref="P:Telegram.Bot.WTelegramBotClientOptions.ApiHash"/>
|
||||||
|
</member>
|
||||||
|
<member name="P:Telegrator.WideBotOptions.MTProxy">
|
||||||
|
<inheritdoc cref="P:Telegram.Bot.WTelegramBotClientOptions.MTProxy"/>
|
||||||
|
</member>
|
||||||
|
<member name="P:Telegrator.WideBotOptions.SqlCommands">
|
||||||
|
<inheritdoc cref="P:Telegram.Bot.WTelegramBotClientOptions.SqlCommands"/>
|
||||||
|
</member>
|
||||||
|
<member name="P:Telegrator.WideBotOptions.DropPendingUpdates">
|
||||||
|
<summary>
|
||||||
|
Gets or sets a value indicating whether pending updates should be discarded.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</doc>
|
</doc>
|
||||||
|
|||||||
@@ -1,16 +1,31 @@
|
|||||||
using WTelegram;
|
using Telegram.Bot;
|
||||||
|
using WTelegram;
|
||||||
|
|
||||||
namespace Telegrator;
|
namespace Telegrator;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents configuration options for initializing and customizing the behavior of a WideBot instance.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>Use this class to specify required API credentials, optional proxy settings, update handling
|
||||||
|
/// preferences, and SQL command detection for WideBot. All required properties must be set before using the options
|
||||||
|
/// with a WideBot instance.
|
||||||
|
/// </remarks>
|
||||||
public class WideBotOptions
|
public class WideBotOptions
|
||||||
{
|
{
|
||||||
|
/// <inheritdoc cref="WTelegramBotClientOptions.ApiId"/>
|
||||||
public required int ApiId { get; set; }
|
public required int ApiId { get; set; }
|
||||||
|
|
||||||
|
/// <inheritdoc cref="WTelegramBotClientOptions.ApiHash"/>
|
||||||
public required string ApiHash { get; set; }
|
public required string ApiHash { get; set; }
|
||||||
|
|
||||||
|
/// <inheritdoc cref="WTelegramBotClientOptions.MTProxy"/>
|
||||||
public string? MTProxy { get; set; }
|
public string? MTProxy { get; set; }
|
||||||
|
|
||||||
public bool DropPendingUpdates { get; set; }
|
/// <inheritdoc cref="WTelegramBotClientOptions.SqlCommands"/>
|
||||||
|
|
||||||
public SqlCommands SqlCommands { get; set; } = WTelegram.SqlCommands.Detect;
|
public SqlCommands SqlCommands { get; set; } = WTelegram.SqlCommands.Detect;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets a value indicating whether pending updates should be discarded.
|
||||||
|
/// </summary>
|
||||||
|
public bool DropPendingUpdates { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user