mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
9 lines
380 B
C#
9 lines
380 B
C#
using Govor.Core.Models.Messages;
|
|
|
|
namespace Govor.Application.Interfaces;
|
|
|
|
public interface IMessagesLoader
|
|
{
|
|
Task<List<Message>> LoadMessagesInUserChat(Guid privateChatId,Guid currentId, Guid? startMessageId, int before = 20, int after = 2);
|
|
Task<List<Message>> LoadMessagesInChatGroup(Guid chatId,Guid currentId, Guid? startMessageId, int before = 20, int after = 2);
|
|
} |