sharp-chat/SharpChatCommon/EventStorage/IEventStorage.cs

10 lines
316 B
C#
Raw Permalink Normal View History

2024-05-24 03:44:20 +00:00
using SharpChat.Events;
using System.Collections.Generic;
namespace SharpChat.EventStorage {
2024-05-24 03:44:20 +00:00
public interface IEventStorage : IChatEventHandler {
ChatEventInfo? GetEvent(long eventId);
IEnumerable<ChatEventInfo> GetChannelEventLog(string channelName, int amount = 20, int after = 0);
}
}