diff --git a/src/api/DesktopAgent.ts b/src/api/DesktopAgent.ts index 1f9c6efc0..310768889 100644 --- a/src/api/DesktopAgent.ts +++ b/src/api/DesktopAgent.ts @@ -144,9 +144,11 @@ interface DesktopAgent { * It is up to applications to manage how to share knowledge of these custom channels across windows and to manage * channel ownership and lifecycle. * + * If `displayMetadata` is specified, the channel is visually selectable by the user. If the channel already exists, displayMetadata is ignored. + * * `Error` with a string from the `ChannelError` enumeration. */ - getOrCreateChannel(channelId: string): Promise; + getOrCreateChannel(channelId: string, displayMetadata?: DisplayMetadata): Promise; /** * Returns the `Channel` object for the current channel membership.