This commit is contained in:
Дмитрий Шиманский
2023-11-09 00:24:18 +03:00
parent 0b218a4c6d
commit dde8b38520
16 changed files with 243 additions and 40 deletions

View File

@@ -0,0 +1,22 @@
using Discord;
using Discord.Interactions;
namespace DiscordApp.Justice.Modals
{
public class INotaryModal : IModal
{
public string Title => "Сертификация док-ов";
[InputLabel("ID паспорта")]
[ModalTextInput("passportId", TextInputStyle.Short, placeholder: "96534", maxLength: 10)]
public string passportId { get; set; }
[InputLabel("Тип документа")]
[ModalTextInput("documentType", TextInputStyle.Short, placeholder: "Пользовательское соглашение", maxLength: 100)]
public string documentType { get; set; }
[InputLabel("Текст из документа")]
[ModalTextInput("textFromDocument", TextInputStyle.Paragraph)]
public string documentText { get; set; }
}
}