Include news text preview in Telegram notification
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
94b02242ed
commit
0dcbd4e2b8
5 files changed
+100
-3
No files matched your search
@@ -26,7 +26,11 @@ public sealed class CreatePostCommandHandler(
|
||||
post.CreatedAt,
|
||||
cancellationToken
|
||||
);
|
||||
await telegramNotifier.NotifyUsersNewsPublishedAsync(post.Title, cancellationToken);
|
||||
await telegramNotifier.NotifyUsersNewsPublishedAsync(
|
||||
post.Title,
|
||||
post.Body,
|
||||
cancellationToken
|
||||
);
|
||||
|
||||
return Result.Success(NewsPostDto.FromDomain(post));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user