-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/microsoft/botbuilder-dotnet
- Loading branch information
Showing
13 changed files
with
802 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Microsoft.Bot.Schema.Teams | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// Specifies attribution for notifications. | ||
/// </summary> | ||
public partial class OnBehalfOf | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="OnBehalfOf"/> class. | ||
/// </summary> | ||
public OnBehalfOf() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets the identification of the item. Default is 0. | ||
/// </summary> | ||
/// <value>The item id.</value> | ||
[JsonProperty(PropertyName = "itemId")] | ||
public int ItemId { get; set; } = 0; | ||
|
||
/// <summary> | ||
/// Gets or sets the mention type. Default is "person". | ||
/// </summary> | ||
/// <value>The mention type.</value> | ||
[JsonProperty(PropertyName = "mentionType")] | ||
public string MentionType { get; set; } = "person"; | ||
|
||
/// <summary> | ||
/// Gets or sets message resource identifier (MRI) of the person on whose behalf the message is sent. | ||
/// Message sender name would appear as "[user] through [bot name]". | ||
/// </summary> | ||
/// <value>The message resource identifier of the person.</value> | ||
[JsonProperty(PropertyName = "mri")] | ||
public string Mri { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets name of the person. Used as fallback in case name resolution is unavailable. | ||
/// </summary> | ||
/// <value>The name of the person.</value> | ||
[JsonProperty(PropertyName = "displayName")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults. | ||
/// </summary> | ||
partial void CustomInit(); | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
libraries/Microsoft.Bot.Schema/Teams/TeamsMeetingNotification.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Microsoft.Bot.Schema.Teams | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// Specifies meeting notification including channel data, type and value. | ||
/// </summary> | ||
public partial class TeamsMeetingNotification | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TeamsMeetingNotification"/> class. | ||
/// </summary> | ||
public TeamsMeetingNotification() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets Activty type. | ||
/// </summary> | ||
/// <value> | ||
/// Activity type. | ||
/// </value> | ||
[JsonProperty(PropertyName = "type")] | ||
public string Type { get; set; } = "targetedMeetingNotification"; | ||
|
||
/// <summary> | ||
/// Gets or sets Teams meeting notification information. | ||
/// </summary> | ||
/// <value> | ||
/// Teams meeting notification information. | ||
/// </value> | ||
[JsonProperty(PropertyName = "value")] | ||
public TeamsMeetingNotificationInfo Value { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets Teams meeting notification channel data. | ||
/// </summary> | ||
/// <value> | ||
/// Teams meeting notification channel data. | ||
/// </value> | ||
[JsonProperty(PropertyName = "channelData")] | ||
public TeamsMeetingNotificationChannelData ChannelData { get; set; } | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults. | ||
/// </summary> | ||
partial void CustomInit(); | ||
} | ||
} |
Oops, something went wrong.