Removes ratelimit, refactors everything in more sections, adds tokenization calculation

This commit is contained in:
Samuele Lorefice
2024-12-26 19:47:07 +01:00
parent 000b32c41d
commit e90e0200e1
5 changed files with 213 additions and 100 deletions

10
TelegramBot/Agent.cs Normal file
View File

@@ -0,0 +1,10 @@
using Telegram.Bot;
namespace TelegramBot;
public class Agent(Actor actor, long telegramId, string name, TelegramBotClient bot) {
public Actor Actor { get; } = actor;
public long TelegramId { get; } = telegramId;
public string Name { get; } = name;
public TelegramBotClient Bot { get; } = bot;
}