Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 500 Bytes

File metadata and controls

28 lines (22 loc) · 500 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const conversationThread = {
    topic: 'Take your wellness days and rest',
    posts: [
        {
            body: {
                contentType: 'html',
                content: 'Waiting for the summer holidays.'
            }
        }
    ]
};

await client.api('/groups/{id}/conversations/{id}/threads')
	.post(conversationThread);