2024-08-06 19:29:29 +00:00
|
|
|
using HermesSocketLibrary.Requests.Messages;
|
|
|
|
|
|
|
|
namespace TwitchChatTTS.Twitch.Redemptions
|
|
|
|
{
|
|
|
|
public interface IRedemptionManager
|
|
|
|
{
|
2025-01-06 14:36:54 +00:00
|
|
|
void Add(RedeemableAction action);
|
|
|
|
void Add(Redemption redemption);
|
2024-08-06 19:29:29 +00:00
|
|
|
Task Execute(RedeemableAction action, string senderDisplayName, long senderId);
|
2025-01-06 14:36:54 +00:00
|
|
|
IEnumerable<RedeemableAction> Get(string twitchRedemptionId);
|
|
|
|
void Initialize();
|
|
|
|
bool RemoveAction(string actionName);
|
|
|
|
bool RemoveRedemption(string redemptionId);
|
|
|
|
bool Update(Redemption redemption);
|
|
|
|
bool Update(RedeemableAction action);
|
2024-08-06 19:29:29 +00:00
|
|
|
}
|
|
|
|
}
|