Adds correct command check

This commit is contained in:
Samuele Lorefice
2024-12-26 19:51:17 +01:00
parent e90e0200e1
commit 124a4c66fe
2 changed files with 17 additions and 4 deletions

View File

@@ -2,9 +2,10 @@
namespace TelegramBot;
public class Agent(Actor actor, long telegramId, string name, TelegramBotClient bot) {
public class Agent(Actor actor, long telegramId, string name, string username, TelegramBotClient bot) {
public Actor Actor { get; } = actor;
public long TelegramId { get; } = telegramId;
public string Username { get; } = username;
public string Name { get; } = name;
public TelegramBotClient Bot { get; } = bot;
}