From 87618c926d268236187151456fa326371f4bdb9d Mon Sep 17 00:00:00 2001 From: Marcel Kwiatkowski Date: Sun, 17 Nov 2024 22:15:46 +0100 Subject: [PATCH] Replace SetSuccess method with SetActionResult and SetFunctionResult --- src/Chat/IActionContext.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Chat/IActionContext.cs b/src/Chat/IActionContext.cs index 5c147ae..72190b7 100644 --- a/src/Chat/IActionContext.cs +++ b/src/Chat/IActionContext.cs @@ -6,5 +6,7 @@ public interface IActionContext : IFunctionContext public void SetPlaceholder(string id, object value); - public void SetSuccess(bool isSuccess); + public void SetActionResult(bool isSuccess, object? value = null); + + public void SetFunctionResult(bool isSuccess, object? value = null); }