Dialogs nullable
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user