@@ -57,7 +57,10 @@ public string CopyText
5757 /// for user on the plugin result. If autocomplete action for example is tab, pressing tab will have
5858 /// the default constructed autocomplete text (result's Title), or the text provided here if not empty.
5959 /// </summary>
60- /// <remarks>When a value is not set, the <see cref="Title"/> will be used.</remarks>
60+ /// <remarks>
61+ /// When a value is not set, the <see cref="Title"/> will be used.
62+ /// Please include the action keyword prefix when necessary because Flow does not prepend it automatically.
63+ /// </remarks>
6164 public string AutoCompleteText { get ; set ; }
6265
6366 /// <summary>
@@ -257,6 +260,17 @@ public string PluginDirectory
257260 /// </summary>
258261 public bool ShowBadge { get ; set ; } = false ;
259262
263+ /// <summary>
264+ /// This holds the text which can be shown as a query suggestion.
265+ /// </summary>
266+ /// <remarks>
267+ /// When a value is not set, the <see cref="Title"/> will be used.
268+ /// Do not include the action keyword prefix because Flow prepends it automatically.
269+ /// If the it does not start with the query text, it will not be shown as a suggestion.
270+ /// So make sure to set this value to start with the query text.
271+ /// </remarks>
272+ public string QuerySuggestionText { get ; set ; }
273+
260274 /// <summary>
261275 /// Run this result, asynchronously
262276 /// </summary>
@@ -307,7 +321,8 @@ public Result Clone()
307321 Preview = Preview ,
308322 AddSelectedCount = AddSelectedCount ,
309323 RecordKey = RecordKey ,
310- ShowBadge = ShowBadge
324+ ShowBadge = ShowBadge ,
325+ QuerySuggestionText = QuerySuggestionText
311326 } ;
312327 }
313328
0 commit comments