2024-08-18 10:32:18 +00:00
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
|
|
public readonly record struct SendToButton() : IButtonData
|
|
|
|
|
{
|
|
|
|
|
public ButtonTypes Type => ButtonTypes.SEND_TO;
|
|
|
|
|
|
2024-08-18 19:48:35 +00:00
|
|
|
public Func<string> GetText { get; init; } = () => string.Empty;
|
2024-08-18 10:32:18 +00:00
|
|
|
|
|
|
|
|
public bool UseResultingContentBlockData { get; init; } = true;
|
2026-04-15 17:40:53 +00:00
|
|
|
|
|
|
|
|
public bool SendToChatAsInput { get; init; }
|
2024-08-18 10:32:18 +00:00
|
|
|
|
2024-09-04 13:44:23 +00:00
|
|
|
public Components Self { get; init; } = Components.NONE;
|
2024-08-18 10:32:18 +00:00
|
|
|
|
2026-04-15 17:40:53 +00:00
|
|
|
}
|