AI-Studio/app/MindWork AI Studio/Tools/SendToButton.cs
2024-08-18 21:48:35 +02:00

15 lines
377 B
C#

using AIStudio.Components.Pages;
namespace AIStudio.Tools;
public readonly record struct SendToButton() : IButtonData
{
public ButtonTypes Type => ButtonTypes.SEND_TO;
public Func<string> GetText { get; init; } = () => string.Empty;
public bool UseResultingContentBlockData { get; init; } = true;
public SendTo Self { get; init; } = SendTo.NONE;
}