mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
b24649e53a
Reworked message loading endpoints and services to support flexible message querying with 'before' and 'after' parameters via a new MessageQuery contract. Updated controller actions, service interfaces, and implementations to use the new query model, and improved error handling. Added integration tests for ChatLoadController and introduced IUserPresenceService interface. Minor fixes and help text improvements in console client commands.
9 lines
195 B
C#
9 lines
195 B
C#
namespace Govor.Contracts.Requests;
|
|
|
|
public class MessageQuery
|
|
{
|
|
public Guid? StartMessageId { get; set; }
|
|
public int Before { get; set; } = 20;
|
|
public int After { get; set; } = 2;
|
|
}
|