Dialogs nullable

This commit is contained in:
Cj
2025-01-08 06:29:57 -05:00
parent c4b2f4b3db
commit ae882e9f7d
25 changed files with 120 additions and 119 deletions
+10 -9
View File
@@ -3,16 +3,17 @@ using Core.Models.Enums;
namespace Core.Models.Eft.Dialog;
public class SendMessageRequest {
[JsonPropertyName("dialogId")]
public string DialogId { get; set; }
public class SendMessageRequest
{
[JsonPropertyName("dialogId")]
public string? DialogId { get; set; }
[JsonPropertyName("type")]
public MessageType Type { get; set; }
[JsonPropertyName("type")]
public MessageType? Type { get; set; }
[JsonPropertyName("text")]
public string Text { get; set; }
[JsonPropertyName("text")]
public string? Text { get; set; }
[JsonPropertyName("replyTo")]
public string ReplyTo { get; set; }
[JsonPropertyName("replyTo")]
public string? ReplyTo { get; set; }
}