AIChatControl.SendMessage(String, ChatRole, List<AIChatUploadFileInfo>) Method
OBSOLETE
This property is obsolete and will be removed in a future version. Use SendMessageAsync instead.
This API is obsolete now.
Namespace: DevExpress.AIIntegration.Wpf.Chat
Assembly: DevExpress.AIIntegration.Wpf.Chat.v26.1.dll
Declaration
[Obsolete("This property is obsolete and will be removed in a future version. Use SendMessageAsync instead.")]
public Task SendMessage(
string text,
ChatRole role,
List<AIChatUploadFileInfo> files = null
)
Parameters
| Name | Type |
|---|---|
| text | String |
| role | Microsoft.Extensions.AI.ChatRole |
Optional Parameters
| Name | Type | Default |
|---|---|---|
| files | List<AIChatUploadFileInfo> | null |
Returns
| Type |
|---|
| Task |
See Also