| 1 | namespace TelegramNotifier; |
| 2 | |
| 3 | /// <summary> |
| 4 | /// DTO for JSON output of get-messages (MCP-friendly). |
| 5 | /// </summary> |
| 6 | public sealed class ChatMessageDto |
| 7 | { |
| 8 | public int Id { get; set; } |
| 9 | public int Date { get; set; } |
| 10 | public long? FromUserId { get; set; } |
| 11 | public string? FromUserName { get; set; } |
| 12 | public string Text { get; set; } = ""; |
| 13 | public int? ReplyToMsgId { get; set; } |
| 14 | public int? TopicId { get; set; } |
| 15 | } |
| 16 |