Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/web-api/src/types/request/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,6 @@ export interface CanvasesEditArguments extends CanvasID, TokenOverridable {
export interface ConversationsCanvasesCreateArguments extends ChannelID, TokenOverridable {
/** @description Structure describing the type and contents of the Canvas being created. */
document_content?: DocumentContent;
/** @description Title of the newly created canvas. */
title?: string;
}
1 change: 1 addition & 0 deletions packages/web-api/test/types/methods/canvas.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,6 @@ expectError(web.conversations.canvases.create({})); // empty argument
expectAssignable<Parameters<typeof web.conversations.canvases.create>>([
{
channel_id: 'C1234',
title: 'Fun Document Title',
},
]);