Function: createConversationAPI()¶
createConversationAPI(
conversation_name
,username
):Promise
<undefined
|Conversations
>
Defined in: src/services/AuthService.tsx:219
Create a new conversation for the user.
Parameters¶
conversation_name¶
string
Initial title
username¶
string
Owner username
Returns¶
Promise
<undefined
| Conversations
>
On success:
{ conversation_id, conversation_name }
On failure:
undefined
(and logs error)