UNPKG

@microsoft/teams.api

Version:

<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t

49 lines (46 loc) • 1.37 kB
import { Account, ConversationAccount } from '../account.js'; import { ChannelID } from '../channel-id.js'; import '../agentic-identity.js'; import '../conversation-type.js'; import '../membership-source.js'; import '../membership-source-types.js'; import '../membership-types.js'; import '../role.js'; /** * An object relating to a particular point in a conversation */ type ConversationReference = { /** * (Optional) ID of the activity to refer to */ activityId?: string; /** * (Optional) User participating in this conversation */ user?: Account; /** * A locale name for the contents of the text field. * The locale name is a combination of an ISO 639 two- or three-letter * culture code associated with a language and an ISO 3166 two-letter * subculture code associated with a country or region. * The locale name can also correspond to a valid BCP-47 language tag. */ locale?: string; /** * Bot participating in this conversation */ bot: Account; /** * Conversation reference */ conversation: ConversationAccount; /** * Channel ID */ channelId: ChannelID; /** * Service endpoint where operations concerning the referenced conversation may be performed */ serviceUrl: string; }; export type { ConversationReference };