Skip to content

Commit 733c8a1

Browse files
authored
Mark activity as optional in ConversationParameters (#4873)
1 parent 5a10b1d commit 733c8a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/botframework-schema/etc/botframework-schema.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ export interface ConversationMembers {
711711

712712
// @public
713713
export interface ConversationParameters {
714-
activity: Activity;
714+
activity?: Activity;
715715
bot: ChannelAccount;
716716
channelData: any;
717717
isGroup: boolean;

libraries/botframework-schema/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ export interface ConversationParameters {
873873
* (Optional) When creating a new conversation, use this activity as the initial message to the
874874
* conversation
875875
*/
876-
activity: Activity;
876+
activity?: Activity;
877877
/**
878878
* Channel specific payload for creating the conversation
879879
*/

0 commit comments

Comments
 (0)