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

32 lines (29 loc) • 1.09 kB
import { ConfigAuth } from './config-auth.mjs'; import { CacheInfo } from '../cache-info.mjs'; import { TaskModuleResponse } from '../task-module/task-module-response.mjs'; import '../suggested-actions.mjs'; import '../card/card-action.mjs'; import '../task-module/task-module-continue-response.mjs'; import '../task-module/task-module-response-base.mjs'; import '../task-module/task-module-task-info.mjs'; import '../attachment/attachment.mjs'; import '../task-module/task-module-message-response.mjs'; /** * * An interface container for the Config response payload */ type ConfigResponse = { /** * @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. */ cacheInfo?: CacheInfo; /** * @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse */ config: ConfigAuth | TaskModuleResponse['task']; /** * @member {string} [responseType] The type of response 'config'. */ responseType: 'config'; }; export type { ConfigResponse };