Adding comments

This commit is contained in:
FlorianDahn 2022-01-04 23:42:13 +02:00
parent c5fa153d54
commit 584bb76e0f
2 changed files with 21 additions and 1 deletions

View File

@ -73,9 +73,14 @@ namespace TelegramBotBase
/// </summary>
public IStartFormFactory StartFormFactory { get; set; }
/// <summary>
/// Contains the message loop factory, which cares about "message-management."
/// </summary>
public IMessageLoopFactory MessageLoopFactory { get; set; }
/// <summary>
/// All internal used settings.
/// </summary>
public Dictionary<eSettings, uint> SystemSettings { get; private set; }
public BotBase()
@ -515,6 +520,11 @@ namespace TelegramBotBase
// }
//}
/// <summary>
/// Will get invoke on an unhandled call.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public void MessageLoopFactory_UnhandledCall(object sender, UnhandledCallEventArgs e)
{
OnUnhandledCall(e);

View File

@ -18,10 +18,20 @@ namespace TelegramBotBase
/// </summary>
public class SessionBase
{
/// <summary>
/// The Basic message client.
/// </summary>
public MessageClient Client { get; set; }
/// <summary>
/// A list of all active sessions.
/// </summary>
public Dictionary<long, DeviceSession> SessionList { get; set; }
/// <summary>
/// Reference to the Main BotBase instance for later use.
/// </summary>
public BotBase BotBase { get; set; }