createChat creates a chat with Microsoft 365 users and automatically adds the
connected user as an owner.
Example
automations/create-launch-chat.automation.ts
Inputs
A one-to-one chat requires exactly one other participant and cannot have a
topic. A group chat requires at least two other participants. Use
guest only
for guest users in the same tenant.
Output
Returns the createdTeamsChat with chatId, chatType, and available topic,
tenant, timestamps, and web URL. Graph may return an existing one-to-one chat
between the same people rather than creating a duplicate.