[Docs] Autocomplete examples (#2288)
* Improved example in int.framework intro * Added example to `autocompletion` * modified example to utilise user's input * added case insensetive matching; mentioned that 25 suggestions is an API limit
This commit is contained in:
@@ -18,6 +18,8 @@ AutocompleteHandlers raise the `AutocompleteHandlerExecuted` event on execution.
|
||||
|
||||
A valid AutocompleteHandlers must inherit [AutocompleteHandler] base type and implement all of its abstract methods.
|
||||
|
||||
[!code-csharp[Autocomplete Command Example](samples/autocompletion/autocomplete-example.cs)]
|
||||
|
||||
### GenerateSuggestionsAsync()
|
||||
|
||||
The Interactions Service uses this method to generate a response of an Autocomplete Interaction.
|
||||
|
||||
Reference in New Issue
Block a user