mirror of
https://github.com/opengram-server/opengram.git
synced 2026-09-16 15:34:18 +03:00
Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using MyTelegram.Schema;
|
||||
|
||||
namespace MyTelegram.BotApi.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Simple DTO event for bot messages (NOT EventFlow domain event)
|
||||
/// Published to RabbitMQ and handled by Command Server
|
||||
/// </summary>
|
||||
public class BotMessageEvent
|
||||
{
|
||||
public long BotUserId { get; set; }
|
||||
public long ChatId { get; set; }
|
||||
public long PeerId { get; set; }
|
||||
public PeerType PeerType { get; set; }
|
||||
public string Text { get; set; } = "";
|
||||
public string? ParseMode { get; set; }
|
||||
public bool? DisableWebPagePreview { get; set; }
|
||||
public bool? DisableNotification { get; set; }
|
||||
public int? ReplyToMessageId { get; set; }
|
||||
public long Timestamp { get; set; }
|
||||
public long RandomId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user