You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
381 B
11 lines
381 B
using Build_God_Api.DB;
|
|
|
|
namespace Build_God_Api.Services
|
|
{
|
|
public interface IChatService
|
|
{
|
|
Task<List<ChatMessage>> GetRecentMessagesAsync(int count = 100);
|
|
Task<ChatMessage> AddMessageAsync(int? characterId, string characterName, string content, ChatMessageType type);
|
|
Task CleanupOldMessagesAsync(int maxCount = 1000, int daysToKeep = 7);
|
|
}
|
|
}
|
|
|