@@ -57,7 +57,10 @@ public string CopyText
57
57
/// for user on the plugin result. If autocomplete action for example is tab, pressing tab will have
58
58
/// the default constructed autocomplete text (result's Title), or the text provided here if not empty.
59
59
/// </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>
61
64
public string AutoCompleteText { get ; set ; }
62
65
63
66
/// <summary>
@@ -257,6 +260,17 @@ public string PluginDirectory
257
260
/// </summary>
258
261
public bool ShowBadge { get ; set ; } = false ;
259
262
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
+
260
274
/// <summary>
261
275
/// Run this result, asynchronously
262
276
/// </summary>
@@ -307,7 +321,8 @@ public Result Clone()
307
321
Preview = Preview ,
308
322
AddSelectedCount = AddSelectedCount ,
309
323
RecordKey = RecordKey ,
310
- ShowBadge = ShowBadge
324
+ ShowBadge = ShowBadge ,
325
+ QuerySuggestionText = QuerySuggestionText
311
326
} ;
312
327
}
313
328
0 commit comments