Добавлены новые методы отправки сообщений
This commit is contained in:
@@ -17,7 +17,7 @@ public sealed class LoggingMiddleware : IPageMiddleware
|
||||
public async Task InvokeAsync(PageContext ctx, Func<Task> next, CancellationToken ct)
|
||||
{
|
||||
// Логируем базовую информацию
|
||||
_logger.Log(LogLevel.Info, $"Update from {ctx.Update.MessengerType} | Chat: {ctx.Update.Chat.Id} | User: {ctx.Update.User.Id}");
|
||||
_logger.Log(LogLevel.Info, $"Update from {ctx.Update.AdapterId} | Chat: {ctx.Update.Chat.Id} | User: {ctx.Update.User.Id}");
|
||||
|
||||
// Логируем текст, кнопки, файлы
|
||||
if (ctx.Update.Text is not null)
|
||||
|
||||
Reference in New Issue
Block a user