sharp-chat/SharpChatCommon/EventStorage/IEventStorage.cs

9 lines
318 B
C#

using SharpChat.Events;
using System.Collections.Generic;
namespace SharpChat.EventStorage {
public interface IEventStorage : IChatEventHandler {
ChatEventInfo? GetEvent(long eventId);
IEnumerable<ChatEventInfo> GetChannelEventLog(string channelName, int amount = 20, int startAt = 0);
}
}