@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
30 lines (28 loc) • 736 B
TypeScript
type StreamInfoEntity = {
readonly type: 'streaminfo';
/**
* ID of the stream.
* @remarks
* Assigned after the initial update is sent.
*/
streamId?: string;
/**
* The type of message being sent.
* @remarks
* `informative` - An informative update.
* `streaming` - A chunk of partial message text.
* `final` - The final message.
*/
streamType?: 'informative' | 'streaming' | 'final';
/**
* Sequence number of the message in the stream.
* @remarks
* Starts at 1 for the first message and increments from there.
*/
streamSequence?: number;
/**
* other properties
*/
[key: string]: any;
};
export type { StreamInfoEntity };