18 lines
431 B
C#
18 lines
431 B
C#
using System.Text.Json.Serialization;
|
|
using Core.Models.Enums;
|
|
|
|
namespace Core.Models.Eft.Dialog;
|
|
|
|
public class SendMessageRequest {
|
|
[JsonPropertyName("dialogId")]
|
|
public string DialogId { get; set; }
|
|
|
|
[JsonPropertyName("type")]
|
|
public MessageType Type { get; set; }
|
|
|
|
[JsonPropertyName("text")]
|
|
public string Text { get; set; }
|
|
|
|
[JsonPropertyName("replyTo")]
|
|
public string ReplyTo { get; set; }
|
|
} |