Implement bidirectional customer conversations with customer-based grouping and order tagging

This commit is contained in:
sysadmin
2025-08-27 19:18:46 +01:00
parent 3f4789730c
commit 027a3fd0c4
25 changed files with 794 additions and 70 deletions

View 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);
}