Доработан формат подписи файлов
All checks were successful
CI / build-test (push) Successful in 35s
Release / pack-and-publish (release) Successful in 38s

This commit is contained in:
2025-12-05 20:13:27 +03:00
parent 308f1af33a
commit d97fcaaa20
5 changed files with 26 additions and 20 deletions

View File

@@ -6,7 +6,7 @@
public interface IAlbumBuilder
{
/// <summary>Добавить элемент в альбом.</summary>
IAlbumBuilder Add(FileDescriptor file, string? caption = null);
IAlbumBuilder Add(FileDescriptor file, string? caption = null, MessageFormat? captionFormat = null);
/// <summary>Отправить альбом.</summary>
Task SendAsync(CancellationToken ct = default);
}

View File

@@ -21,7 +21,7 @@ public interface IMessengerAdapter
/// <summary>
/// Отправить файл в чат.
/// </summary>
Task SendFileAsync(string chatId, FileDescriptor file, string? caption, CancellationToken ct);
Task SendFileAsync(string chatId, FileDescriptor file, string? caption, MessageFormat? captionFormat, CancellationToken ct);
/// <summary>
/// Создать билдер альбома для отправки медиагруппы.