@microsoft/teams.apps 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/README.md +35 -0
  2. package/dist/api.d.ts +21 -0
  3. package/dist/api.js +66 -0
  4. package/dist/app.d.ts +1137 -0
  5. package/dist/app.embed.d.ts +24 -0
  6. package/dist/app.embed.js +83 -0
  7. package/dist/app.events.d.ts +14 -0
  8. package/dist/app.events.js +51 -0
  9. package/dist/app.js +411 -0
  10. package/dist/app.oauth.d.ts +13 -0
  11. package/dist/app.oauth.js +106 -0
  12. package/dist/app.plugins.d.ts +24 -0
  13. package/dist/app.plugins.js +96 -0
  14. package/dist/app.process.d.ts +11 -0
  15. package/dist/app.process.js +141 -0
  16. package/dist/app.routing.d.ts +22 -0
  17. package/dist/app.routing.js +40 -0
  18. package/dist/container/container.d.ts +37 -0
  19. package/dist/container/container.js +46 -0
  20. package/dist/container/index.d.ts +2 -0
  21. package/dist/container/index.js +19 -0
  22. package/dist/container/provider.d.ts +9 -0
  23. package/dist/container/provider.js +11 -0
  24. package/dist/contexts/activity-error.d.ts +8 -0
  25. package/dist/contexts/activity-error.js +3 -0
  26. package/dist/contexts/activity-signin.d.ts +8 -0
  27. package/dist/contexts/activity-signin.js +3 -0
  28. package/dist/contexts/activity.d.ts +117 -0
  29. package/dist/contexts/activity.js +133 -0
  30. package/dist/contexts/client.d.ts +53 -0
  31. package/dist/contexts/client.js +3 -0
  32. package/dist/contexts/function.d.ts +17 -0
  33. package/dist/contexts/function.js +3 -0
  34. package/dist/contexts/index.d.ts +5 -0
  35. package/dist/contexts/index.js +22 -0
  36. package/dist/events/activity-response.d.ts +16 -0
  37. package/dist/events/activity-response.js +3 -0
  38. package/dist/events/activity-sent.d.ts +16 -0
  39. package/dist/events/activity-sent.js +3 -0
  40. package/dist/events/activity.d.ts +20 -0
  41. package/dist/events/activity.js +3 -0
  42. package/dist/events/error.d.ts +16 -0
  43. package/dist/events/error.js +3 -0
  44. package/dist/events/index.d.ts +18 -0
  45. package/dist/events/index.js +21 -0
  46. package/dist/index.d.ts +7 -0
  47. package/dist/index.js +47 -0
  48. package/dist/manifest.d.ts +1241 -0
  49. package/dist/manifest.js +3 -0
  50. package/dist/middleware/entra-token-validator.d.ts +75 -0
  51. package/dist/middleware/entra-token-validator.js +169 -0
  52. package/dist/middleware/index.d.ts +3 -0
  53. package/dist/middleware/index.js +22 -0
  54. package/dist/middleware/strip-mentions-text.d.ts +3 -0
  55. package/dist/middleware/strip-mentions-text.js +48 -0
  56. package/dist/middleware/with-client-auth.d.ts +13 -0
  57. package/dist/middleware/with-client-auth.js +40 -0
  58. package/dist/oauth.d.ts +9 -0
  59. package/dist/oauth.js +7 -0
  60. package/dist/plugins/http/index.d.ts +2 -0
  61. package/dist/plugins/http/index.js +19 -0
  62. package/dist/plugins/http/plugin.d.ts +986 -0
  63. package/dist/plugins/http/plugin.js +238 -0
  64. package/dist/plugins/http/stream.d.ts +956 -0
  65. package/dist/plugins/http/stream.js +128 -0
  66. package/dist/plugins/index.d.ts +1 -0
  67. package/dist/plugins/index.js +18 -0
  68. package/dist/router.d.ts +34 -0
  69. package/dist/router.js +91 -0
  70. package/dist/routes/activity.d.ts +8 -0
  71. package/dist/routes/activity.js +3 -0
  72. package/dist/routes/conversation-update.d.ts +6 -0
  73. package/dist/routes/conversation-update.js +3 -0
  74. package/dist/routes/event.d.ts +17 -0
  75. package/dist/routes/event.js +11 -0
  76. package/dist/routes/index.d.ts +20 -0
  77. package/dist/routes/index.js +24 -0
  78. package/dist/routes/install.d.ts +8 -0
  79. package/dist/routes/install.js +3 -0
  80. package/dist/routes/invoke/file-consent.d.ts +6 -0
  81. package/dist/routes/invoke/file-consent.js +3 -0
  82. package/dist/routes/invoke/index.d.ts +39 -0
  83. package/dist/routes/invoke/index.js +45 -0
  84. package/dist/routes/invoke/message-extension-submit.d.ts +6 -0
  85. package/dist/routes/invoke/message-extension-submit.js +3 -0
  86. package/dist/routes/invoke/message-submit.d.ts +10 -0
  87. package/dist/routes/invoke/message-submit.js +3 -0
  88. package/dist/routes/message-delete.d.ts +6 -0
  89. package/dist/routes/message-delete.js +3 -0
  90. package/dist/routes/message-update.d.ts +6 -0
  91. package/dist/routes/message-update.js +3 -0
  92. package/dist/types/constructor.d.ts +7 -0
  93. package/dist/types/constructor.js +3 -0
  94. package/dist/types/event-handler.d.ts +1 -0
  95. package/dist/types/event-handler.js +3 -0
  96. package/dist/types/event.d.ts +11 -0
  97. package/dist/types/event.js +3 -0
  98. package/dist/types/index.d.ts +7 -0
  99. package/dist/types/index.js +24 -0
  100. package/dist/types/plugin/decorators/dependency.d.ts +135 -0
  101. package/dist/types/plugin/decorators/dependency.js +49 -0
  102. package/dist/types/plugin/decorators/event.d.ts +18 -0
  103. package/dist/types/plugin/decorators/event.js +24 -0
  104. package/dist/types/plugin/decorators/index.d.ts +3 -0
  105. package/dist/types/plugin/decorators/index.js +12 -0
  106. package/dist/types/plugin/decorators/plugin.d.ts +25 -0
  107. package/dist/types/plugin/decorators/plugin.js +23 -0
  108. package/dist/types/plugin/index.d.ts +8 -0
  109. package/dist/types/plugin/index.js +25 -0
  110. package/dist/types/plugin/plugin-activity-event.d.ts +20 -0
  111. package/dist/types/plugin/plugin-activity-event.js +3 -0
  112. package/dist/types/plugin/plugin-activity-response-event.d.ts +20 -0
  113. package/dist/types/plugin/plugin-activity-response-event.js +3 -0
  114. package/dist/types/plugin/plugin-activity-sent-event.d.ts +16 -0
  115. package/dist/types/plugin/plugin-activity-sent-event.js +3 -0
  116. package/dist/types/plugin/plugin-error-event.d.ts +20 -0
  117. package/dist/types/plugin/plugin-error-event.js +3 -0
  118. package/dist/types/plugin/plugin-start-event.d.ts +11 -0
  119. package/dist/types/plugin/plugin-start-event.js +3 -0
  120. package/dist/types/plugin/plugin.d.ts +74 -0
  121. package/dist/types/plugin/plugin.js +3 -0
  122. package/dist/types/plugin/sender.d.ts +18 -0
  123. package/dist/types/plugin/sender.js +3 -0
  124. package/dist/types/prefixed.d.ts +3 -0
  125. package/dist/types/prefixed.js +3 -0
  126. package/dist/types/route-handler.d.ts +2 -0
  127. package/dist/types/route-handler.js +3 -0
  128. package/dist/types/streamer.d.ts +31 -0
  129. package/dist/types/streamer.js +3 -0
  130. package/dist/types/suffixed.d.ts +3 -0
  131. package/dist/types/suffixed.js +3 -0
  132. package/package.json +70 -0
@@ -0,0 +1,956 @@
1
+ import { EventEmitter } from '@microsoft/teams.common';
2
+ import { ActivityParams, Attachment, ChannelData, Client, ConversationReference, Entity, IMessageActivity } from '@microsoft/teams.api';
3
+ import { IStreamer, IStreamerEvents } from '../../types';
4
+ export declare class HttpStream implements IStreamer {
5
+ readonly events: EventEmitter<IStreamerEvents>;
6
+ protected client: Client;
7
+ protected ref: ConversationReference;
8
+ protected index: number;
9
+ protected id?: string;
10
+ protected text: string;
11
+ protected attachments: Attachment[];
12
+ protected channelData: ChannelData;
13
+ protected entities: Entity[];
14
+ protected queue: Array<Partial<IMessageActivity>>;
15
+ private _timeout?;
16
+ private _failures;
17
+ constructor(client: Client, ref: ConversationReference);
18
+ emit(activity: Partial<IMessageActivity> | string): void;
19
+ close(): Promise<void>;
20
+ protected flush(): Promise<void>;
21
+ protected send(activity: ActivityParams): Promise<{
22
+ id: string;
23
+ type: "message";
24
+ text?: string | undefined;
25
+ speak?: string | undefined;
26
+ inputHint?: import("@microsoft/teams.api").InputHint | undefined;
27
+ summary?: string | undefined;
28
+ textFormat?: import("@microsoft/teams.api").TextFormat | undefined;
29
+ attachmentLayout?: import("@microsoft/teams.api").AttachmentLayout | undefined;
30
+ attachments?: Attachment[] | undefined;
31
+ suggestedActions?: import("@microsoft/teams.api").SuggestedActions | undefined;
32
+ importance?: import("@microsoft/teams.api").Importance | undefined;
33
+ deliveryMode?: import("@microsoft/teams.api").DeliveryMode | undefined;
34
+ expiration?: Date | undefined;
35
+ value?: any;
36
+ stripMentionsText?: ((options?: import("@microsoft/teams.api").StripMentionsTextOptions) => IMessageActivity) | undefined;
37
+ isRecipientMentioned?: (() => boolean) | undefined;
38
+ getAccountMention?: ((accountId: string) => import("@microsoft/teams.api").MentionEntity | undefined) | undefined;
39
+ serviceUrl?: string | undefined;
40
+ timestamp?: Date | undefined;
41
+ locale?: string | undefined;
42
+ localTimestamp?: Date | undefined;
43
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
44
+ from?: import("@microsoft/teams.api").Account | undefined;
45
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
46
+ relatesTo?: ConversationReference | undefined;
47
+ recipient?: import("@microsoft/teams.api").Account | undefined;
48
+ replyToId?: string | undefined;
49
+ entities?: Entity[] | undefined;
50
+ channelData?: ChannelData | undefined;
51
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
52
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
53
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
54
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
55
+ isStreaming?: (() => boolean) | undefined;
56
+ } | {
57
+ id: string;
58
+ type: "messageUpdate";
59
+ text?: string | undefined;
60
+ speak?: string | undefined;
61
+ summary?: string | undefined;
62
+ expiration?: Date | undefined;
63
+ value?: any;
64
+ channelData?: (ChannelData & {
65
+ eventType: "undeleteMessage" | "editMessage";
66
+ }) | undefined;
67
+ serviceUrl?: string | undefined;
68
+ timestamp?: Date | undefined;
69
+ locale?: string | undefined;
70
+ localTimestamp?: Date | undefined;
71
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
72
+ from?: import("@microsoft/teams.api").Account | undefined;
73
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
74
+ relatesTo?: ConversationReference | undefined;
75
+ recipient?: import("@microsoft/teams.api").Account | undefined;
76
+ replyToId?: string | undefined;
77
+ entities?: Entity[] | undefined;
78
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
79
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
80
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
81
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
82
+ isStreaming?: (() => boolean) | undefined;
83
+ } | {
84
+ id: string;
85
+ type: "messageDelete";
86
+ channelData?: (ChannelData & {
87
+ eventType: "softDeleteMessage";
88
+ }) | undefined;
89
+ serviceUrl?: string | undefined;
90
+ timestamp?: Date | undefined;
91
+ locale?: string | undefined;
92
+ localTimestamp?: Date | undefined;
93
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
94
+ from?: import("@microsoft/teams.api").Account | undefined;
95
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
96
+ relatesTo?: ConversationReference | undefined;
97
+ recipient?: import("@microsoft/teams.api").Account | undefined;
98
+ replyToId?: string | undefined;
99
+ entities?: Entity[] | undefined;
100
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
101
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
102
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
103
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
104
+ isStreaming?: (() => boolean) | undefined;
105
+ } | {
106
+ id: string;
107
+ type: "messageReaction";
108
+ reactionsAdded?: import("@microsoft/teams.api").MessageReaction[] | undefined;
109
+ reactionsRemoved?: import("@microsoft/teams.api").MessageReaction[] | undefined;
110
+ serviceUrl?: string | undefined;
111
+ timestamp?: Date | undefined;
112
+ locale?: string | undefined;
113
+ localTimestamp?: Date | undefined;
114
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
115
+ from?: import("@microsoft/teams.api").Account | undefined;
116
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
117
+ relatesTo?: ConversationReference | undefined;
118
+ recipient?: import("@microsoft/teams.api").Account | undefined;
119
+ replyToId?: string | undefined;
120
+ entities?: Entity[] | undefined;
121
+ channelData?: ChannelData | undefined;
122
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
123
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
124
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
125
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
126
+ isStreaming?: (() => boolean) | undefined;
127
+ } | {
128
+ id: string;
129
+ type: "event";
130
+ name?: "application/vnd.microsoft.readReceipt" | undefined;
131
+ serviceUrl?: string | undefined;
132
+ timestamp?: Date | undefined;
133
+ locale?: string | undefined;
134
+ localTimestamp?: Date | undefined;
135
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
136
+ from?: import("@microsoft/teams.api").Account | undefined;
137
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
138
+ relatesTo?: ConversationReference | undefined;
139
+ recipient?: import("@microsoft/teams.api").Account | undefined;
140
+ replyToId?: string | undefined;
141
+ entities?: Entity[] | undefined;
142
+ channelData?: ChannelData | undefined;
143
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
144
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
145
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
146
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
147
+ isStreaming?: (() => boolean) | undefined;
148
+ } | {
149
+ id: string;
150
+ type: "event";
151
+ name?: "application/vnd.microsoft.meetingStart" | undefined;
152
+ value?: {
153
+ id: string;
154
+ meetingType: string;
155
+ joinUrl: string;
156
+ title: string;
157
+ startTime: Date;
158
+ } | undefined;
159
+ serviceUrl?: string | undefined;
160
+ timestamp?: Date | undefined;
161
+ locale?: string | undefined;
162
+ localTimestamp?: Date | undefined;
163
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
164
+ from?: import("@microsoft/teams.api").Account | undefined;
165
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
166
+ relatesTo?: ConversationReference | undefined;
167
+ recipient?: import("@microsoft/teams.api").Account | undefined;
168
+ replyToId?: string | undefined;
169
+ entities?: Entity[] | undefined;
170
+ channelData?: ChannelData | undefined;
171
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
172
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
173
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
174
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
175
+ isStreaming?: (() => boolean) | undefined;
176
+ } | {
177
+ id: string;
178
+ type: "event";
179
+ name?: "application/vnd.microsoft.meetingEnd" | undefined;
180
+ value?: {
181
+ id: string;
182
+ meetingType: string;
183
+ joinUrl: string;
184
+ title: string;
185
+ endTime: Date;
186
+ } | undefined;
187
+ serviceUrl?: string | undefined;
188
+ timestamp?: Date | undefined;
189
+ locale?: string | undefined;
190
+ localTimestamp?: Date | undefined;
191
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
192
+ from?: import("@microsoft/teams.api").Account | undefined;
193
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
194
+ relatesTo?: ConversationReference | undefined;
195
+ recipient?: import("@microsoft/teams.api").Account | undefined;
196
+ replyToId?: string | undefined;
197
+ entities?: Entity[] | undefined;
198
+ channelData?: ChannelData | undefined;
199
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
200
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
201
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
202
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
203
+ isStreaming?: (() => boolean) | undefined;
204
+ } | {
205
+ id: string;
206
+ type: "event";
207
+ name?: "application/vnd.microsoft.meetingParticipantJoin" | undefined;
208
+ value?: {
209
+ members: {
210
+ user: import("@microsoft/teams.api").Account;
211
+ meeting: {
212
+ inMeeting: boolean;
213
+ role: string;
214
+ };
215
+ }[];
216
+ } | undefined;
217
+ serviceUrl?: string | undefined;
218
+ timestamp?: Date | undefined;
219
+ locale?: string | undefined;
220
+ localTimestamp?: Date | undefined;
221
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
222
+ from?: import("@microsoft/teams.api").Account | undefined;
223
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
224
+ relatesTo?: ConversationReference | undefined;
225
+ recipient?: import("@microsoft/teams.api").Account | undefined;
226
+ replyToId?: string | undefined;
227
+ entities?: Entity[] | undefined;
228
+ channelData?: ChannelData | undefined;
229
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
230
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
231
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
232
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
233
+ isStreaming?: (() => boolean) | undefined;
234
+ } | {
235
+ id: string;
236
+ type: "event";
237
+ name?: "application/vnd.microsoft.meetingParticipantLeave" | undefined;
238
+ value?: {
239
+ members: {
240
+ user: import("@microsoft/teams.api").Account;
241
+ meeting: {
242
+ inMeeting: boolean;
243
+ role: string;
244
+ };
245
+ }[];
246
+ } | undefined;
247
+ serviceUrl?: string | undefined;
248
+ timestamp?: Date | undefined;
249
+ locale?: string | undefined;
250
+ localTimestamp?: Date | undefined;
251
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
252
+ from?: import("@microsoft/teams.api").Account | undefined;
253
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
254
+ relatesTo?: ConversationReference | undefined;
255
+ recipient?: import("@microsoft/teams.api").Account | undefined;
256
+ replyToId?: string | undefined;
257
+ entities?: Entity[] | undefined;
258
+ channelData?: ChannelData | undefined;
259
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
260
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
261
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
262
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
263
+ isStreaming?: (() => boolean) | undefined;
264
+ } | {
265
+ id: string;
266
+ type: "invoke";
267
+ name?: "fileConsent/invoke" | undefined;
268
+ value?: import("@microsoft/teams.api").FileConsentCardResponse | undefined;
269
+ relatesTo?: ConversationReference | undefined;
270
+ serviceUrl?: string | undefined;
271
+ timestamp?: Date | undefined;
272
+ locale?: string | undefined;
273
+ localTimestamp?: Date | undefined;
274
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
275
+ from?: import("@microsoft/teams.api").Account | undefined;
276
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
277
+ recipient?: import("@microsoft/teams.api").Account | undefined;
278
+ replyToId?: string | undefined;
279
+ entities?: Entity[] | undefined;
280
+ channelData?: ChannelData | undefined;
281
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
282
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
283
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
284
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
285
+ isStreaming?: (() => boolean) | undefined;
286
+ } | {
287
+ id: string;
288
+ type: "invoke";
289
+ name?: "actionableMessage/executeAction" | undefined;
290
+ value?: import("@microsoft/teams.api").O365ConnectorCardActionQuery | undefined;
291
+ relatesTo?: ConversationReference | undefined;
292
+ serviceUrl?: string | undefined;
293
+ timestamp?: Date | undefined;
294
+ locale?: string | undefined;
295
+ localTimestamp?: Date | undefined;
296
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
297
+ from?: import("@microsoft/teams.api").Account | undefined;
298
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
299
+ recipient?: import("@microsoft/teams.api").Account | undefined;
300
+ replyToId?: string | undefined;
301
+ entities?: Entity[] | undefined;
302
+ channelData?: ChannelData | undefined;
303
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
304
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
305
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
306
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
307
+ isStreaming?: (() => boolean) | undefined;
308
+ } | {
309
+ id: string;
310
+ type: "invoke";
311
+ name?: "composeExtension/anonymousQueryLink" | undefined;
312
+ value?: import("@microsoft/teams.api").AppBasedLinkQuery | undefined;
313
+ relatesTo?: ConversationReference | undefined;
314
+ serviceUrl?: string | undefined;
315
+ timestamp?: Date | undefined;
316
+ locale?: string | undefined;
317
+ localTimestamp?: Date | undefined;
318
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
319
+ from?: import("@microsoft/teams.api").Account | undefined;
320
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
321
+ recipient?: import("@microsoft/teams.api").Account | undefined;
322
+ replyToId?: string | undefined;
323
+ entities?: Entity[] | undefined;
324
+ channelData?: ChannelData | undefined;
325
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
326
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
327
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
328
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
329
+ isStreaming?: (() => boolean) | undefined;
330
+ } | {
331
+ id: string;
332
+ type: "invoke";
333
+ name?: "composeExtension/fetchTask" | undefined;
334
+ value?: import("@microsoft/teams.api").MessagingExtensionAction | undefined;
335
+ relatesTo?: ConversationReference | undefined;
336
+ serviceUrl?: string | undefined;
337
+ timestamp?: Date | undefined;
338
+ locale?: string | undefined;
339
+ localTimestamp?: Date | undefined;
340
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
341
+ from?: import("@microsoft/teams.api").Account | undefined;
342
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
343
+ recipient?: import("@microsoft/teams.api").Account | undefined;
344
+ replyToId?: string | undefined;
345
+ entities?: Entity[] | undefined;
346
+ channelData?: ChannelData | undefined;
347
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
348
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
349
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
350
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
351
+ isStreaming?: (() => boolean) | undefined;
352
+ } | {
353
+ id: string;
354
+ type: "invoke";
355
+ name?: "composeExtension/onCardButtonClicked" | undefined;
356
+ value?: any;
357
+ relatesTo?: ConversationReference | undefined;
358
+ serviceUrl?: string | undefined;
359
+ timestamp?: Date | undefined;
360
+ locale?: string | undefined;
361
+ localTimestamp?: Date | undefined;
362
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
363
+ from?: import("@microsoft/teams.api").Account | undefined;
364
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
365
+ recipient?: import("@microsoft/teams.api").Account | undefined;
366
+ replyToId?: string | undefined;
367
+ entities?: Entity[] | undefined;
368
+ channelData?: ChannelData | undefined;
369
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
370
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
371
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
372
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
373
+ isStreaming?: (() => boolean) | undefined;
374
+ } | {
375
+ id: string;
376
+ type: "invoke";
377
+ name?: "composeExtension/queryLink" | undefined;
378
+ value?: import("@microsoft/teams.api").AppBasedLinkQuery | undefined;
379
+ relatesTo?: ConversationReference | undefined;
380
+ serviceUrl?: string | undefined;
381
+ timestamp?: Date | undefined;
382
+ locale?: string | undefined;
383
+ localTimestamp?: Date | undefined;
384
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
385
+ from?: import("@microsoft/teams.api").Account | undefined;
386
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
387
+ recipient?: import("@microsoft/teams.api").Account | undefined;
388
+ replyToId?: string | undefined;
389
+ entities?: Entity[] | undefined;
390
+ channelData?: ChannelData | undefined;
391
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
392
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
393
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
394
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
395
+ isStreaming?: (() => boolean) | undefined;
396
+ } | {
397
+ id: string;
398
+ type: "invoke";
399
+ name?: "composeExtension/querySettingUrl" | undefined;
400
+ value?: import("@microsoft/teams.api").MessagingExtensionQuery | undefined;
401
+ relatesTo?: ConversationReference | undefined;
402
+ serviceUrl?: string | undefined;
403
+ timestamp?: Date | undefined;
404
+ locale?: string | undefined;
405
+ localTimestamp?: Date | undefined;
406
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
407
+ from?: import("@microsoft/teams.api").Account | undefined;
408
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
409
+ recipient?: import("@microsoft/teams.api").Account | undefined;
410
+ replyToId?: string | undefined;
411
+ entities?: Entity[] | undefined;
412
+ channelData?: ChannelData | undefined;
413
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
414
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
415
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
416
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
417
+ isStreaming?: (() => boolean) | undefined;
418
+ } | {
419
+ id: string;
420
+ type: "invoke";
421
+ name?: "composeExtension/query" | undefined;
422
+ value?: import("@microsoft/teams.api").MessagingExtensionQuery | undefined;
423
+ relatesTo?: ConversationReference | undefined;
424
+ serviceUrl?: string | undefined;
425
+ timestamp?: Date | undefined;
426
+ locale?: string | undefined;
427
+ localTimestamp?: Date | undefined;
428
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
429
+ from?: import("@microsoft/teams.api").Account | undefined;
430
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
431
+ recipient?: import("@microsoft/teams.api").Account | undefined;
432
+ replyToId?: string | undefined;
433
+ entities?: Entity[] | undefined;
434
+ channelData?: ChannelData | undefined;
435
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
436
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
437
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
438
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
439
+ isStreaming?: (() => boolean) | undefined;
440
+ } | {
441
+ id: string;
442
+ type: "invoke";
443
+ name?: "composeExtension/selectItem" | undefined;
444
+ value?: any;
445
+ relatesTo?: ConversationReference | undefined;
446
+ serviceUrl?: string | undefined;
447
+ timestamp?: Date | undefined;
448
+ locale?: string | undefined;
449
+ localTimestamp?: Date | undefined;
450
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
451
+ from?: import("@microsoft/teams.api").Account | undefined;
452
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
453
+ recipient?: import("@microsoft/teams.api").Account | undefined;
454
+ replyToId?: string | undefined;
455
+ entities?: Entity[] | undefined;
456
+ channelData?: ChannelData | undefined;
457
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
458
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
459
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
460
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
461
+ isStreaming?: (() => boolean) | undefined;
462
+ } | {
463
+ id: string;
464
+ type: "invoke";
465
+ name?: "composeExtension/setting" | undefined;
466
+ value?: import("@microsoft/teams.api").MessagingExtensionQuery | undefined;
467
+ relatesTo?: ConversationReference | undefined;
468
+ serviceUrl?: string | undefined;
469
+ timestamp?: Date | undefined;
470
+ locale?: string | undefined;
471
+ localTimestamp?: Date | undefined;
472
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
473
+ from?: import("@microsoft/teams.api").Account | undefined;
474
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
475
+ recipient?: import("@microsoft/teams.api").Account | undefined;
476
+ replyToId?: string | undefined;
477
+ entities?: Entity[] | undefined;
478
+ channelData?: ChannelData | undefined;
479
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
480
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
481
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
482
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
483
+ isStreaming?: (() => boolean) | undefined;
484
+ } | {
485
+ id: string;
486
+ type: "invoke";
487
+ name?: "composeExtension/submitAction" | undefined;
488
+ value?: import("@microsoft/teams.api").MessagingExtensionAction | undefined;
489
+ relatesTo?: ConversationReference | undefined;
490
+ serviceUrl?: string | undefined;
491
+ timestamp?: Date | undefined;
492
+ locale?: string | undefined;
493
+ localTimestamp?: Date | undefined;
494
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
495
+ from?: import("@microsoft/teams.api").Account | undefined;
496
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
497
+ recipient?: import("@microsoft/teams.api").Account | undefined;
498
+ replyToId?: string | undefined;
499
+ entities?: Entity[] | undefined;
500
+ channelData?: ChannelData | undefined;
501
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
502
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
503
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
504
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
505
+ isStreaming?: (() => boolean) | undefined;
506
+ } | {
507
+ id: string;
508
+ type: "invoke";
509
+ name?: "config/fetch" | undefined;
510
+ value?: any;
511
+ relatesTo?: ConversationReference | undefined;
512
+ serviceUrl?: string | undefined;
513
+ timestamp?: Date | undefined;
514
+ locale?: string | undefined;
515
+ localTimestamp?: Date | undefined;
516
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
517
+ from?: import("@microsoft/teams.api").Account | undefined;
518
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
519
+ recipient?: import("@microsoft/teams.api").Account | undefined;
520
+ replyToId?: string | undefined;
521
+ entities?: Entity[] | undefined;
522
+ channelData?: ChannelData | undefined;
523
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
524
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
525
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
526
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
527
+ isStreaming?: (() => boolean) | undefined;
528
+ } | {
529
+ id: string;
530
+ type: "invoke";
531
+ name?: "config/submit" | undefined;
532
+ value?: any;
533
+ relatesTo?: ConversationReference | undefined;
534
+ serviceUrl?: string | undefined;
535
+ timestamp?: Date | undefined;
536
+ locale?: string | undefined;
537
+ localTimestamp?: Date | undefined;
538
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
539
+ from?: import("@microsoft/teams.api").Account | undefined;
540
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
541
+ recipient?: import("@microsoft/teams.api").Account | undefined;
542
+ replyToId?: string | undefined;
543
+ entities?: Entity[] | undefined;
544
+ channelData?: ChannelData | undefined;
545
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
546
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
547
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
548
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
549
+ isStreaming?: (() => boolean) | undefined;
550
+ } | {
551
+ id: string;
552
+ type: "invoke";
553
+ name?: "tab/fetch" | undefined;
554
+ value?: import("@microsoft/teams.api").TabRequest | undefined;
555
+ relatesTo?: ConversationReference | undefined;
556
+ serviceUrl?: string | undefined;
557
+ timestamp?: Date | undefined;
558
+ locale?: string | undefined;
559
+ localTimestamp?: Date | undefined;
560
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
561
+ from?: import("@microsoft/teams.api").Account | undefined;
562
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
563
+ recipient?: import("@microsoft/teams.api").Account | undefined;
564
+ replyToId?: string | undefined;
565
+ entities?: Entity[] | undefined;
566
+ channelData?: ChannelData | undefined;
567
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
568
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
569
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
570
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
571
+ isStreaming?: (() => boolean) | undefined;
572
+ } | {
573
+ id: string;
574
+ type: "invoke";
575
+ name?: "tab/submit" | undefined;
576
+ value?: import("@microsoft/teams.api").TabRequest | undefined;
577
+ relatesTo?: ConversationReference | undefined;
578
+ serviceUrl?: string | undefined;
579
+ timestamp?: Date | undefined;
580
+ locale?: string | undefined;
581
+ localTimestamp?: Date | undefined;
582
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
583
+ from?: import("@microsoft/teams.api").Account | undefined;
584
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
585
+ recipient?: import("@microsoft/teams.api").Account | undefined;
586
+ replyToId?: string | undefined;
587
+ entities?: Entity[] | undefined;
588
+ channelData?: ChannelData | undefined;
589
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
590
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
591
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
592
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
593
+ isStreaming?: (() => boolean) | undefined;
594
+ } | {
595
+ id: string;
596
+ type: "invoke";
597
+ name?: "task/fetch" | undefined;
598
+ value?: import("@microsoft/teams.api").TaskModuleRequest | undefined;
599
+ relatesTo?: ConversationReference | undefined;
600
+ serviceUrl?: string | undefined;
601
+ timestamp?: Date | undefined;
602
+ locale?: string | undefined;
603
+ localTimestamp?: Date | undefined;
604
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
605
+ from?: import("@microsoft/teams.api").Account | undefined;
606
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
607
+ recipient?: import("@microsoft/teams.api").Account | undefined;
608
+ replyToId?: string | undefined;
609
+ entities?: Entity[] | undefined;
610
+ channelData?: ChannelData | undefined;
611
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
612
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
613
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
614
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
615
+ isStreaming?: (() => boolean) | undefined;
616
+ } | {
617
+ id: string;
618
+ type: "invoke";
619
+ name?: "task/submit" | undefined;
620
+ value?: import("@microsoft/teams.api").TaskModuleRequest | undefined;
621
+ relatesTo?: ConversationReference | undefined;
622
+ serviceUrl?: string | undefined;
623
+ timestamp?: Date | undefined;
624
+ locale?: string | undefined;
625
+ localTimestamp?: Date | undefined;
626
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
627
+ from?: import("@microsoft/teams.api").Account | undefined;
628
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
629
+ recipient?: import("@microsoft/teams.api").Account | undefined;
630
+ replyToId?: string | undefined;
631
+ entities?: Entity[] | undefined;
632
+ channelData?: ChannelData | undefined;
633
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
634
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
635
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
636
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
637
+ isStreaming?: (() => boolean) | undefined;
638
+ } | {
639
+ id: string;
640
+ type: "invoke";
641
+ name?: "message/submitAction" | undefined;
642
+ value?: {
643
+ actionName: "feedback";
644
+ actionValue: {
645
+ reaction: "like" | "dislike";
646
+ feedback: string;
647
+ };
648
+ } | undefined;
649
+ relatesTo?: ConversationReference | undefined;
650
+ serviceUrl?: string | undefined;
651
+ timestamp?: Date | undefined;
652
+ locale?: string | undefined;
653
+ localTimestamp?: Date | undefined;
654
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
655
+ from?: import("@microsoft/teams.api").Account | undefined;
656
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
657
+ recipient?: import("@microsoft/teams.api").Account | undefined;
658
+ replyToId?: string | undefined;
659
+ entities?: Entity[] | undefined;
660
+ channelData?: ChannelData | undefined;
661
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
662
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
663
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
664
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
665
+ isStreaming?: (() => boolean) | undefined;
666
+ } | {
667
+ id: string;
668
+ type: "invoke";
669
+ name?: "handoff/action" | undefined;
670
+ value?: {
671
+ continuation: string;
672
+ } | undefined;
673
+ relatesTo?: ConversationReference | undefined;
674
+ serviceUrl?: string | undefined;
675
+ timestamp?: Date | undefined;
676
+ locale?: string | undefined;
677
+ localTimestamp?: Date | undefined;
678
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
679
+ from?: import("@microsoft/teams.api").Account | undefined;
680
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
681
+ recipient?: import("@microsoft/teams.api").Account | undefined;
682
+ replyToId?: string | undefined;
683
+ entities?: Entity[] | undefined;
684
+ channelData?: ChannelData | undefined;
685
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
686
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
687
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
688
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
689
+ isStreaming?: (() => boolean) | undefined;
690
+ } | {
691
+ id: string;
692
+ type: "invoke";
693
+ name?: "signin/tokenExchange" | undefined;
694
+ value?: import("@microsoft/teams.api").SignInExchangeToken | undefined;
695
+ serviceUrl?: string | undefined;
696
+ timestamp?: Date | undefined;
697
+ locale?: string | undefined;
698
+ localTimestamp?: Date | undefined;
699
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
700
+ from?: import("@microsoft/teams.api").Account | undefined;
701
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
702
+ relatesTo?: ConversationReference | undefined;
703
+ recipient?: import("@microsoft/teams.api").Account | undefined;
704
+ replyToId?: string | undefined;
705
+ entities?: Entity[] | undefined;
706
+ channelData?: ChannelData | undefined;
707
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
708
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
709
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
710
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
711
+ isStreaming?: (() => boolean) | undefined;
712
+ } | {
713
+ id: string;
714
+ type: "invoke";
715
+ name?: "signin/verifyState" | undefined;
716
+ value?: import("@microsoft/teams.api").SigninStateVerifyQuery | undefined;
717
+ serviceUrl?: string | undefined;
718
+ timestamp?: Date | undefined;
719
+ locale?: string | undefined;
720
+ localTimestamp?: Date | undefined;
721
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
722
+ from?: import("@microsoft/teams.api").Account | undefined;
723
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
724
+ relatesTo?: ConversationReference | undefined;
725
+ recipient?: import("@microsoft/teams.api").Account | undefined;
726
+ replyToId?: string | undefined;
727
+ entities?: Entity[] | undefined;
728
+ channelData?: ChannelData | undefined;
729
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
730
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
731
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
732
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
733
+ isStreaming?: (() => boolean) | undefined;
734
+ } | {
735
+ id: string;
736
+ type: "invoke";
737
+ name?: "adaptiveCard/action" | undefined;
738
+ value?: import("@microsoft/teams.api").AdaptiveCardInvokeValue | undefined;
739
+ serviceUrl?: string | undefined;
740
+ timestamp?: Date | undefined;
741
+ locale?: string | undefined;
742
+ localTimestamp?: Date | undefined;
743
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
744
+ from?: import("@microsoft/teams.api").Account | undefined;
745
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
746
+ relatesTo?: ConversationReference | undefined;
747
+ recipient?: import("@microsoft/teams.api").Account | undefined;
748
+ replyToId?: string | undefined;
749
+ entities?: Entity[] | undefined;
750
+ channelData?: ChannelData | undefined;
751
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
752
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
753
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
754
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
755
+ isStreaming?: (() => boolean) | undefined;
756
+ } | {
757
+ id: string;
758
+ type: "trace";
759
+ name?: string | undefined;
760
+ label?: string | undefined;
761
+ valueType?: string | undefined;
762
+ value?: any;
763
+ relatesTo?: ConversationReference | undefined;
764
+ serviceUrl?: string | undefined;
765
+ timestamp?: Date | undefined;
766
+ locale?: string | undefined;
767
+ localTimestamp?: Date | undefined;
768
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
769
+ from?: import("@microsoft/teams.api").Account | undefined;
770
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
771
+ recipient?: import("@microsoft/teams.api").Account | undefined;
772
+ replyToId?: string | undefined;
773
+ entities?: Entity[] | undefined;
774
+ channelData?: ChannelData | undefined;
775
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
776
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
777
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
778
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
779
+ isStreaming?: (() => boolean) | undefined;
780
+ } | {
781
+ id: string;
782
+ type: "typing";
783
+ text?: string | undefined;
784
+ serviceUrl?: string | undefined;
785
+ timestamp?: Date | undefined;
786
+ locale?: string | undefined;
787
+ localTimestamp?: Date | undefined;
788
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
789
+ from?: import("@microsoft/teams.api").Account | undefined;
790
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
791
+ relatesTo?: ConversationReference | undefined;
792
+ recipient?: import("@microsoft/teams.api").Account | undefined;
793
+ replyToId?: string | undefined;
794
+ entities?: Entity[] | undefined;
795
+ channelData?: ChannelData | undefined;
796
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
797
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
798
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
799
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
800
+ isStreaming?: (() => boolean) | undefined;
801
+ } | {
802
+ id: string;
803
+ type: "handoff";
804
+ serviceUrl?: string | undefined;
805
+ timestamp?: Date | undefined;
806
+ locale?: string | undefined;
807
+ localTimestamp?: Date | undefined;
808
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
809
+ from?: import("@microsoft/teams.api").Account | undefined;
810
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
811
+ relatesTo?: ConversationReference | undefined;
812
+ recipient?: import("@microsoft/teams.api").Account | undefined;
813
+ replyToId?: string | undefined;
814
+ entities?: Entity[] | undefined;
815
+ channelData?: ChannelData | undefined;
816
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
817
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
818
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
819
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
820
+ isStreaming?: (() => boolean) | undefined;
821
+ } | {
822
+ id: string;
823
+ type: "conversationUpdate";
824
+ membersAdded?: import("@microsoft/teams.api").Account[] | undefined;
825
+ membersRemoved?: import("@microsoft/teams.api").Account[] | undefined;
826
+ topicName?: string | undefined;
827
+ historyDisclosed?: boolean | undefined;
828
+ channelData?: (ChannelData & {
829
+ eventType: "channelCreated" | "channelDeleted" | "channelRenamed" | "channelRestored" | "teamArchived" | "teamDeleted" | "teamHardDeleted" | "teamRenamed" | "teamRestored" | "teamUnarchived";
830
+ }) | undefined;
831
+ serviceUrl?: string | undefined;
832
+ timestamp?: Date | undefined;
833
+ locale?: string | undefined;
834
+ localTimestamp?: Date | undefined;
835
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
836
+ from?: import("@microsoft/teams.api").Account | undefined;
837
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
838
+ relatesTo?: ConversationReference | undefined;
839
+ recipient?: import("@microsoft/teams.api").Account | undefined;
840
+ replyToId?: string | undefined;
841
+ entities?: Entity[] | undefined;
842
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
843
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
844
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
845
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
846
+ isStreaming?: (() => boolean) | undefined;
847
+ } | {
848
+ id: string;
849
+ type: "endOfConversation";
850
+ code?: import("@microsoft/teams.api").EndOfConversationCode | undefined;
851
+ text?: string | undefined;
852
+ serviceUrl?: string | undefined;
853
+ timestamp?: Date | undefined;
854
+ locale?: string | undefined;
855
+ localTimestamp?: Date | undefined;
856
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
857
+ from?: import("@microsoft/teams.api").Account | undefined;
858
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
859
+ relatesTo?: ConversationReference | undefined;
860
+ recipient?: import("@microsoft/teams.api").Account | undefined;
861
+ replyToId?: string | undefined;
862
+ entities?: Entity[] | undefined;
863
+ channelData?: ChannelData | undefined;
864
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
865
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
866
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
867
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
868
+ isStreaming?: (() => boolean) | undefined;
869
+ } | {
870
+ id: string;
871
+ type: "command";
872
+ name?: string | undefined;
873
+ value?: import("@microsoft/teams.api").CommandValue<any> | undefined;
874
+ serviceUrl?: string | undefined;
875
+ timestamp?: Date | undefined;
876
+ locale?: string | undefined;
877
+ localTimestamp?: Date | undefined;
878
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
879
+ from?: import("@microsoft/teams.api").Account | undefined;
880
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
881
+ relatesTo?: ConversationReference | undefined;
882
+ recipient?: import("@microsoft/teams.api").Account | undefined;
883
+ replyToId?: string | undefined;
884
+ entities?: Entity[] | undefined;
885
+ channelData?: ChannelData | undefined;
886
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
887
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
888
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
889
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
890
+ isStreaming?: (() => boolean) | undefined;
891
+ } | {
892
+ id: string;
893
+ type: "commandResult";
894
+ name?: string | undefined;
895
+ value?: import("@microsoft/teams.api").CommandResultValue<any> | undefined;
896
+ serviceUrl?: string | undefined;
897
+ timestamp?: Date | undefined;
898
+ locale?: string | undefined;
899
+ localTimestamp?: Date | undefined;
900
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
901
+ from?: import("@microsoft/teams.api").Account | undefined;
902
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
903
+ relatesTo?: ConversationReference | undefined;
904
+ recipient?: import("@microsoft/teams.api").Account | undefined;
905
+ replyToId?: string | undefined;
906
+ entities?: Entity[] | undefined;
907
+ channelData?: ChannelData | undefined;
908
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
909
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
910
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
911
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
912
+ isStreaming?: (() => boolean) | undefined;
913
+ } | {
914
+ id: string;
915
+ type: "installationUpdate";
916
+ action?: "add" | undefined;
917
+ serviceUrl?: string | undefined;
918
+ timestamp?: Date | undefined;
919
+ locale?: string | undefined;
920
+ localTimestamp?: Date | undefined;
921
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
922
+ from?: import("@microsoft/teams.api").Account | undefined;
923
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
924
+ relatesTo?: ConversationReference | undefined;
925
+ recipient?: import("@microsoft/teams.api").Account | undefined;
926
+ replyToId?: string | undefined;
927
+ entities?: Entity[] | undefined;
928
+ channelData?: ChannelData | undefined;
929
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
930
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
931
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
932
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
933
+ isStreaming?: (() => boolean) | undefined;
934
+ } | {
935
+ id: string;
936
+ type: "installationUpdate";
937
+ action?: "remove" | undefined;
938
+ serviceUrl?: string | undefined;
939
+ timestamp?: Date | undefined;
940
+ locale?: string | undefined;
941
+ localTimestamp?: Date | undefined;
942
+ channelId?: import("@microsoft/teams.api").ChannelID | undefined;
943
+ from?: import("@microsoft/teams.api").Account | undefined;
944
+ conversation?: import("@microsoft/teams.api").ConversationAccount | undefined;
945
+ relatesTo?: ConversationReference | undefined;
946
+ recipient?: import("@microsoft/teams.api").Account | undefined;
947
+ replyToId?: string | undefined;
948
+ entities?: Entity[] | undefined;
949
+ channelData?: ChannelData | undefined;
950
+ channel?: import("@microsoft/teams.api").ChannelInfo | undefined;
951
+ team?: import("@microsoft/teams.api").TeamInfo | undefined;
952
+ meeting?: import("@microsoft/teams.api").MeetingInfo | undefined;
953
+ notification?: import("@microsoft/teams.api").NotificationInfo | undefined;
954
+ isStreaming?: (() => boolean) | undefined;
955
+ }>;
956
+ }