Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams Adaptive Card Tabs #3224

Merged
merged 19 commits into from
Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@
"title": "Property",
"description": "Property (named location to store information).",
"examples": [
"dialog.participantInfo"
"user.participantInfo"
]
},
"meetingId": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Meeting id",
"title": "Meeting Id",
"description": "Meeting Id or expression to a meetingId to use to get the participant information. Default value is the current turn.activity.channelData.meeting.id.",
"examples": [
"=turn.activity.channelData.meeting.id"
]
},
"participantId": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Participant id",
"title": "Participant Id",
"description": "Participant Id or expression to a participantId to use to get the participant information. Default value is the current turn.activity.from.aadObjectId.",
"examples": [
"=turn.activity.from.aadObjectId"
]
},
"tenantId": {
"$ref": "schema:#/definitions/stringExpression",
"title": "Tenant id",
"title": "Tenant Id",
"description": "Tenant Id or expression to a tenantId to use to get the participant information. Default value is the current $turn.activity.channelData.tenant.id.",
"examples": [
"=turn.activity.channelData.tenant.id"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On app based link query",
"title": "OnTeamsAppBasedLinkQuery",
"description": "Actions triggered when a Teams activity is received with activity.name == 'composeExtension/queryLink'.",
"type": "object",
"hidden": [
"actions"
],
"required": [
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams card action",
"title": "OnTeamsCardAction",
"description": "Actions triggered when a Teams InvokeActivity is received with no activity.name.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams channel created",
"title": "OnTeamsChannelCreated",
"description": "Actions triggered when a Teams ConversationUpdateActivity with channelData.eventType == 'channelCreated'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams channel deleted",
"title": "OnTeamsChannelDeleted",
"description": "Actions triggered when a Teams ConversationUpdateActivity with channelData.eventType == 'channelDeleted'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams channel renamed",
"title": "OnTeamsChannelRenamed",
"description": "Actions triggered when a Teams ConversationUpdateActivity with channelData.eventType == 'channelRenamed'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams channel restored",
"title": "OnTeamsChannelRestored",
"description": "Actions triggered when a Teams ConversationUpdateActivity with channelData.eventType == 'channelRestored'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams file consent",
"title": "OnTeamsFileConsent",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name == 'fileConsent/invoke'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams messaging extension card button clicked",
"title": "OnTeamsMessagingExtensionCardButtonClicked",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='composeExtension/onCardButtonClicked'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams messaging extension configuration query setting url",
"title": "OnTeamsMessagingExtensionConfigurationQuerySettingUrl",
"description": "Actions triggered when a Teams InvokeActivity is received with name='composeExtension/querySettingUrl'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams messaging extension configuration setting",
"title": "OnTeamsMessagingExtensionConfigurationSetting",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='composeExtension/setting'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams messaging extension fetch task",
"title": "OnTeamsMessagingExtensionFetchTask",
"description": "Actions triggered when a Teams InvokeActivity is received when activity.name='composeExtension/fetchTask'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams messaging extension query",
"title": "OnTeamsMessagingExtensionQuery",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='composeExtension/query'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams messaging extension select item",
"title": "OnTeamsMessagingExtensionSelectItem",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='composeExtension/selectItem'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On teams messaging extension submit action",
"title": "OnTeamsMessagingExtensionSubmitAction",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='composeExtension/submitAction'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams O365 connector card action",
"title": "OnTeamsO365ConnectorCardAction",
"description": "Actions triggered when a Teams InvokeActivity is received for 'actionableMessage/executeAction'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams Tab Fetch",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='tab/fetch'.",
"type": "object",
"required": [
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams Tab Submit",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='tab/submit'.",
"type": "object",
"required": [
]
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams task module fetch",
"description": "Actions triggered when a Teams Invoke Activity is received with activity.name='task/fetch'.",
"title": "OnTeamsTaskModuleFetch",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='task/fetch'.",
"type": "object",
"required": [
]
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams task module submit",
"title": "OnTeamsTaskModuleSubmit",
"description": "Actions triggered when a Teams InvokeActivity is received with activity.name='task/submit'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams team archived",
"title": "OnTeamsTeamArchived",
"description": "Actions triggered when a Teams ConversationUpdate with channelData.eventType == 'teamArchived'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams team deleted",
"title": "OnTeamsTeamDeleted",
"description": "Actions triggered when a Teams ConversationUpdate with channelData.eventType == 'teamDeleted'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams team hard deleted",
"title": "OnTeamsTeamHardDeleted",
"description": "Actions triggered when a Teams ConversationUpdate with channelData.eventType == 'teamHardDeleted'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams team renamed",
"title": "OnTeamsTeamRenamed",
"description": "Actions triggered when a Teams ConversationUpdate with channelData.eventType == 'teamRenamed'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams team restored",
"title": "OnTeamsTeamRestored",
"description": "Actions triggered when a Teams ConversationUpdate with channelData.eventType == 'teamRestored'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": [ "implements(Microsoft.ITrigger)", "extends(Microsoft.OnCondition)" ],
"title": "On Teams team unarchived",
"title": "OnTeamsTeamUnarchived",
"description": "Actions triggered when a Teams ConversationUpdate with channelData.eventType == 'teamUnarchived'.",
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class GetMeetingParticipant extends Dialog implements GetMeetingParticipa
/**
* Class identifier.
*/
public static $kind = 'Teams.GetMeetingParticipant';
public static readonly $kind = 'Teams.GetMeetingParticipant';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class GetMember extends Dialog implements GetMemberConfiguration {
/**
* Class identifier.
*/
public static $kind = 'Teams.GetMember';
public static readonly $kind = 'Teams.GetMember';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class GetPagedMembers extends Dialog implements GetPagedMembersConfigurat
/**
* Class identifier.
*/
public static $kind = 'Teams.GetPagedMembers';
public static readonly $kind = 'Teams.GetPagedMembers';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class GetPagedTeamMembers extends Dialog implements GetPagedTeamMembersCo
/**
* Class identifier.
*/
public static $kind = 'Teams.GetPagedTeamMembers';
public static readonly $kind = 'Teams.GetPagedTeamMembers';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class GetTeamChannels extends Dialog implements GetTeamChannelsConfigurat
/**
* Class identifier.
*/
public static $kind = 'Teams.GetTeamChannels';
public static readonly $kind = 'Teams.GetTeamChannels';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class GetTeamDetails extends Dialog implements GetTeamDetailsConfiguratio
/**
* Class identifier.
*/
public static $kind = 'Teams.GetTeamDetails';
public static readonly $kind = 'Teams.GetTeamDetails';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class GetTeamMember extends Dialog implements GetTeamMemberConfiguration
/**
* Class identifier.
*/
public static $kind = 'Teams.GetTeamMember';
public static readonly $kind = 'Teams.GetTeamMember';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class SendAppBasedLinkQueryResponse
/**
* Class identifier.
*/
public static $kind = 'Teams.SendAppBasedLinkQueryResponse';
public static readonly $kind = 'Teams.SendAppBasedLinkQueryResponse';

/**
* Gets or sets template for the attachment template of a Thumbnail or Hero Card to send.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class SendMessageToTeamsChannel extends Dialog implements SendMessageToTe
/**
* Class identifier.
*/
public static $kind = 'Teams.SendMessageToTeamsChannel';
public static readonly $kind = 'Teams.SendMessageToTeamsChannel';

/**
* Gets or sets an optional expression which if is true will disable this action.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class SendMessagingExtensionActionResponse
/**
* Class identifier.
*/
public static $kind = 'Teams.SendMessagingExtensionActionResponse';
public static readonly $kind = 'Teams.SendMessagingExtensionActionResponse';

/**
* Gets or sets template for the attachment template of a Thumbnail or Hero Card to send.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class SendMessagingExtensionAttachmentsResponse
/**
* Class identifier.
*/
public static $kind = 'Teams.SendMessagingExtensionAttachmentsResponse';
public static readonly $kind = 'Teams.SendMessagingExtensionAttachmentsResponse';

/**
* Gets or sets the Activity containing the Attachments to send.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class SendMessagingExtensionAuthResponse
/**
* Class identifier.
*/
public static $kind = 'Teams.SendMessagingExtensionAuthResponse';
public static readonly $kind = 'Teams.SendMessagingExtensionAuthResponse';

/**
* Gets or sets property path to put the value in.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class SendMessagingExtensionBotMessagePreviewResponse
/**
* Class identifier.
*/
public static $kind = 'Teams.SendMessagingExtensionBotMessagePreviewResponse';
public static readonly $kind = 'Teams.SendMessagingExtensionBotMessagePreviewResponse';

/**
* Gets or sets template for the attachment template of a Thumbnail or Hero Card to send.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class SendMessagingExtensionConfigQuerySettingUrlResponse
/**
* Class identifier.
*/
public static $kind = 'Teams.SendMessagingExtensionConfigQuerySettingUrlResponse';
public static readonly $kind = 'Teams.SendMessagingExtensionConfigQuerySettingUrlResponse';

/**
* Gets or sets config url response to send.
Expand Down
Loading