protected InputComponentInfo(Builders.IInputComponentBuilder builder, ModalInfo modal) { Modal = modal; CustomId = builder.CustomId; Label = builder.Label; IsRequired = builder.IsRequired; ComponentType = builder.ComponentType; Type = builder.Type; DefaultValue = builder.DefaultValue; Attributes = builder.Attributes.ToImmutableArray(); }
internal ModalCommandParameterInfo(ModalCommandParameterBuilder builder, ICommandInfo command) : base(builder, command) { Modal = builder.Modal; }