sharp-chat/SharpChatCommon/EventStorage/IEventStorage.cs

9 lines
316 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 after = 0);
}
}