File tree Expand file tree Collapse file tree
MangoAPI.BusinessLogic/ApiCommands/Messages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using Microsoft . AspNetCore . Http ;
22using System ;
33using System . ComponentModel ;
4- using System . Text . Json . Serialization ;
54
65namespace MangoAPI . BusinessLogic . ApiCommands . Messages ;
76
87public class SendMessageRequest
98{
109 [ DefaultValue ( "hello world" ) ]
11- [ JsonPropertyName ( "messageText" ) ]
1210 public string MessageText { get ; set ; }
1311
1412 [ DefaultValue ( "a8747c37-c5ef-4a87-943c-3ee3ae0a2871" ) ]
15- [ JsonPropertyName ( "chatId" ) ]
1613 public Guid ChatId { get ; set ; }
1714
1815 [ DefaultValue ( "John Doe" ) ]
19- [ JsonPropertyName ( "inReplayToAuthor" ) ]
2016 public string InReplayToAuthor { get ; set ; }
2117
2218 [ DefaultValue ( "Hello world!" ) ]
23- [ JsonPropertyName ( "inReplayToText" ) ]
2419 public string InReplayToText { get ; set ; }
2520
2621 [ DefaultValue ( "2021-08-01T00:00:00.0000000" ) ]
27- [ JsonPropertyName ( "createdAt" ) ]
2822 public DateTime ? CreatedAt { get ; set ; }
2923
3024 [ DefaultValue ( "f56ac722-a57b-411c-8306-c2e05fb1a8df" ) ]
31- [ JsonPropertyName ( "messageId" ) ]
3225 public Guid ? MessageId { get ; set ; }
3326
3427 public IFormFile Attachment { get ; set ; }
You can’t perform that action at this time.
0 commit comments