Skip to content

Commit e1740e1

Browse files
Prep for release (Azure#48316)
* Prep for release * Export api * make custom model factory params required
1 parent a2ec42f commit e1740e1

15 files changed

+232
-19
lines changed

sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
# Release History
22

3-
## 4.30.0-beta.1 (Unreleased)
3+
## 4.30.0 (2025-02-14)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added `MessageId`, `MessageType`, and `Reaction` properties to the `AcsMessageReceivedEventData` event.
8+
- Added the `Animated` property to `AcsMessageMediaContent` event.
129

1310
## 4.29.0 (2025-01-21)
1411

sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.net8.0.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ public static partial class EventGridModelFactory
8686
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveButtonReplyContent AcsMessageInteractiveButtonReplyContent(string buttonId = null, string title = null) { throw null; }
8787
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveContent AcsMessageInteractiveContent(Azure.Messaging.EventGrid.SystemEvents.AcsInteractiveReplyKind? replyKind = default(Azure.Messaging.EventGrid.SystemEvents.AcsInteractiveReplyKind?), Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveButtonReplyContent buttonReply = null, Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveListReplyContent listReply = null) { throw null; }
8888
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveListReplyContent AcsMessageInteractiveListReplyContent(string listItemId = null, string title = null, string description = null) { throw null; }
89-
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent(string mimeType = null, string mediaId = null, string fileName = null, string caption = null) { throw null; }
89+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
90+
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent(string mimeType, string mediaId, string fileName, string caption) { throw null; }
91+
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent(string mimeType = null, string mediaId = null, string fileName = null, string caption = null, bool? animated = default(bool?)) { throw null; }
92+
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageReactionContent AcsMessageReactionContent(string messageId = null, string emoji = null) { throw null; }
9093
public static Azure.Messaging.EventGrid.SystemEvents.AcsMicrosoftTeamsAppIdentifier AcsMicrosoftTeamsAppIdentifier(string appId = null, Azure.Messaging.EventGrid.SystemEvents.CommunicationCloudEnvironmentModel? cloud = default(Azure.Messaging.EventGrid.SystemEvents.CommunicationCloudEnvironmentModel?)) { throw null; }
9194
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
9295
public static Azure.Messaging.EventGrid.SystemEvents.AcsRecordingChunkInfoProperties AcsRecordingChunkInfoProperties(string documentId, long? index, string endReason, string metadataLocation, string contentLocation) { throw null; }
@@ -1152,11 +1155,18 @@ internal AcsMessageInteractiveListReplyContent() { }
11521155
public partial class AcsMessageMediaContent
11531156
{
11541157
internal AcsMessageMediaContent() { }
1158+
public bool? Animated { get { throw null; } }
11551159
public string Caption { get { throw null; } }
11561160
public string FileName { get { throw null; } }
11571161
public string MediaId { get { throw null; } }
11581162
public string MimeType { get { throw null; } }
11591163
}
1164+
public partial class AcsMessageReactionContent
1165+
{
1166+
internal AcsMessageReactionContent() { }
1167+
public string Emoji { get { throw null; } }
1168+
public string MessageId { get { throw null; } }
1169+
}
11601170
public partial class AcsMessageReceivedEventData : Azure.Messaging.EventGrid.SystemEvents.AcsMessageEventData
11611171
{
11621172
internal AcsMessageReceivedEventData() { }
@@ -1166,6 +1176,9 @@ internal AcsMessageReceivedEventData() { }
11661176
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageContext Context { get { throw null; } }
11671177
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveContent InteractiveContent { get { throw null; } }
11681178
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent MediaContent { get { throw null; } }
1179+
public string MessageId { get { throw null; } }
1180+
public string MessageType { get { throw null; } }
1181+
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageReactionContent Reaction { get { throw null; } }
11691182
}
11701183
public partial class AcsMicrosoftTeamsAppIdentifier
11711184
{

sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ public static partial class EventGridModelFactory
8686
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveButtonReplyContent AcsMessageInteractiveButtonReplyContent(string buttonId = null, string title = null) { throw null; }
8787
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveContent AcsMessageInteractiveContent(Azure.Messaging.EventGrid.SystemEvents.AcsInteractiveReplyKind? replyKind = default(Azure.Messaging.EventGrid.SystemEvents.AcsInteractiveReplyKind?), Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveButtonReplyContent buttonReply = null, Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveListReplyContent listReply = null) { throw null; }
8888
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveListReplyContent AcsMessageInteractiveListReplyContent(string listItemId = null, string title = null, string description = null) { throw null; }
89-
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent(string mimeType = null, string mediaId = null, string fileName = null, string caption = null) { throw null; }
89+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
90+
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent(string mimeType, string mediaId, string fileName, string caption) { throw null; }
91+
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent(string mimeType = null, string mediaId = null, string fileName = null, string caption = null, bool? animated = default(bool?)) { throw null; }
92+
public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageReactionContent AcsMessageReactionContent(string messageId = null, string emoji = null) { throw null; }
9093
public static Azure.Messaging.EventGrid.SystemEvents.AcsMicrosoftTeamsAppIdentifier AcsMicrosoftTeamsAppIdentifier(string appId = null, Azure.Messaging.EventGrid.SystemEvents.CommunicationCloudEnvironmentModel? cloud = default(Azure.Messaging.EventGrid.SystemEvents.CommunicationCloudEnvironmentModel?)) { throw null; }
9194
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
9295
public static Azure.Messaging.EventGrid.SystemEvents.AcsRecordingChunkInfoProperties AcsRecordingChunkInfoProperties(string documentId, long? index, string endReason, string metadataLocation, string contentLocation) { throw null; }
@@ -1152,11 +1155,18 @@ internal AcsMessageInteractiveListReplyContent() { }
11521155
public partial class AcsMessageMediaContent
11531156
{
11541157
internal AcsMessageMediaContent() { }
1158+
public bool? Animated { get { throw null; } }
11551159
public string Caption { get { throw null; } }
11561160
public string FileName { get { throw null; } }
11571161
public string MediaId { get { throw null; } }
11581162
public string MimeType { get { throw null; } }
11591163
}
1164+
public partial class AcsMessageReactionContent
1165+
{
1166+
internal AcsMessageReactionContent() { }
1167+
public string Emoji { get { throw null; } }
1168+
public string MessageId { get { throw null; } }
1169+
}
11601170
public partial class AcsMessageReceivedEventData : Azure.Messaging.EventGrid.SystemEvents.AcsMessageEventData
11611171
{
11621172
internal AcsMessageReceivedEventData() { }
@@ -1166,6 +1176,9 @@ internal AcsMessageReceivedEventData() { }
11661176
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageContext Context { get { throw null; } }
11671177
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageInteractiveContent InteractiveContent { get { throw null; } }
11681178
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent MediaContent { get { throw null; } }
1179+
public string MessageId { get { throw null; } }
1180+
public string MessageType { get { throw null; } }
1181+
public Azure.Messaging.EventGrid.SystemEvents.AcsMessageReactionContent Reaction { get { throw null; } }
11691182
}
11701183
public partial class AcsMicrosoftTeamsAppIdentifier
11711184
{

sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Description>This library can be used to publish events to Azure Event Grid and to consume events delivered by EventGrid. It also defines the event schemas for the events published to EventGrid by various Azure services.</Description>
44
<AssemblyTitle>Microsoft Azure.Messaging.EventGrid client library</AssemblyTitle>
5-
<Version>4.30.0-beta.1</Version>
5+
<Version>4.30.0</Version>
66
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
77
<ApiCompatVersion>4.29.0</ApiCompatVersion>
88
<PackageTags>Microsoft Azure EventGrid;Event Grid;Event Grid Publishing;</PackageTags>

sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridModelFactory.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,18 @@ public static AcsEmailDeliveryReportStatusDetails AcsEmailDeliveryReportStatusDe
880880
{
881881
return new AcsEmailDeliveryReportStatusDetails(default, statusMessage);
882882
}
883+
884+
/// <summary> Initializes a new instance of <see cref="SystemEvents.AcsMessageMediaContent"/>. </summary>
885+
/// <param name="mimeType"> The MIME type of the file this media represents. </param>
886+
/// <param name="mediaId"> The media identifier. </param>
887+
/// <param name="fileName"> The filename of the underlying media file as specified when uploaded. </param>
888+
/// <param name="caption"> The caption for the media object, if supported and provided. </param>
889+
/// <returns> A new <see cref="SystemEvents.AcsMessageMediaContent"/> instance for mocking. </returns>
890+
[EditorBrowsable(EditorBrowsableState.Never)]
891+
public static AcsMessageMediaContent AcsMessageMediaContent(string mimeType, string mediaId, string fileName, string caption)
892+
{
893+
return new AcsMessageMediaContent(mimeType, mediaId, fileName, caption, default);
894+
}
883895
}
884896
#pragma warning restore CA1054 // URI-like parameters should not be strings
885897
}

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsMessageDeliveryStatusUpdatedEventData.cs

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsMessageEventData.cs

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsMessageMediaContent.Serialization.cs

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsMessageMediaContent.cs

Lines changed: 16 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)