Исправлен возврат messageId при отправке сообщения
All checks were successful
CI / build-test (push) Successful in 38s
Release / pack-and-publish (release) Successful in 43s

This commit is contained in:
2026-01-13 21:22:06 +03:00
parent f29e72a6f2
commit 0ed47b2b90
2 changed files with 2 additions and 2 deletions

View File

@@ -200,6 +200,6 @@ public sealed class MessageBuilder
_adapterOptions = null; _adapterOptions = null;
_chatId = null; _chatId = null;
return messageId; return outMessageId;
} }
} }

View File

@@ -23,7 +23,7 @@ public sealed class FileSendPage : SingletonPage
GetStreamAsync = _ => Task.FromResult<Stream>(stream) GetStreamAsync = _ => Task.FromResult<Stream>(stream)
}; };
await new MessageBuilder(ctx) var msg = await new MessageBuilder(ctx)
.Text("Вот пример отправки нового файла 📎", MessageFormat.Markdown) .Text("Вот пример отправки нового файла 📎", MessageFormat.Markdown)
.File(demoFile, "Демонстрационный файл") .File(demoFile, "Демонстрационный файл")
.SendAsync(ct); .SendAsync(ct);