using MediatR;

namespace ChatService.API.Application.Commands.Keys;

/// <summary>
/// EN: Command to upload one-time pre-keys.
/// VI: Command để upload các one-time pre-keys.
/// </summary>
public record UploadOneTimeKeysCommand(
    Guid ChatUserId,
    IEnumerable<OneTimePreKeyDto> OneTimePreKeys
) : IRequest<UploadOneTimeKeysResult>;

public record UploadOneTimeKeysResult(
    int KeysUploaded,
    int TotalAvailableKeys
);
