| ChatClientCreateDialogAsync Method |
Creates a new dialog.
Namespace: Quickblox.Sdk.Modules.ChatModuleAssembly: Quickblox.Sdk.Xamarin (in Quickblox.Sdk.Xamarin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Task<HttpResponse<Dialog>> CreateDialogAsync(
string dialogName,
DialogType dialogType,
string occupantsIds,
string photoId = null
)
Public Function CreateDialogAsync (
dialogName As String,
dialogType As DialogType,
occupantsIds As String,
Optional photoId As String = Nothing
) As Task(Of HttpResponse(Of Dialog))
public:
Task<HttpResponse<Dialog^>^>^ CreateDialogAsync(
String^ dialogName,
DialogType dialogType,
String^ occupantsIds,
String^ photoId = nullptr
)
member CreateDialogAsync :
dialogName : string *
dialogType : DialogType *
occupantsIds : string *
?photoId : string
(* Defaults:
let _photoId = defaultArg photoId null
*)
-> Task<HttpResponse<Dialog>>
Parameters
- dialogName
- Type: SystemString
Dialog name. Is ignored for Private dialogs. - dialogType
- Type: Quickblox.Sdk.Modules.ChatModule.ModelsDialogType
Dialog type - occupantsIds
- Type: SystemString
Occupants IDs (in a string separated by comma) - photoId (Optional)
- Type: SystemString
Photo upload ID.
Return Value
Type:
TaskHttpResponseDialog[Missing <returns> documentation for "M:Quickblox.Sdk.Modules.ChatModule.ChatClient.CreateDialogAsync(System.String,Quickblox.Sdk.Modules.ChatModule.Models.DialogType,System.String,System.String)"]
See Also