Adds correct command check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user