Implement bidirectional customer conversations with customer-based grouping and order tagging
This commit is contained in:
11
LittleShop.Client/Services/IMessageService.cs
Normal file
11
LittleShop.Client/Services/IMessageService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using LittleShop.Client.Models;
|
||||
|
||||
namespace LittleShop.Client.Services;
|
||||
|
||||
public interface IMessageService
|
||||
{
|
||||
Task<List<CustomerMessage>> GetPendingMessagesAsync(string platform = "Telegram");
|
||||
Task<bool> MarkMessageAsSentAsync(Guid messageId, string? platformMessageId = null);
|
||||
Task<bool> MarkMessageAsFailedAsync(Guid messageId, string reason);
|
||||
Task<bool> CreateCustomerMessageAsync(object messageData);
|
||||
}
|
||||
Reference in New Issue
Block a user