11namespace Azure . Communication . Messages
22{
3+ public partial class AudioNotificationContent : Azure . Communication . Messages . NotificationContent , System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . AudioNotificationContent > , System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . AudioNotificationContent >
4+ {
5+ public AudioNotificationContent ( System . Guid channelRegistrationId , System . Collections . Generic . IEnumerable < string > to , System . Uri mediaUri ) : base ( default ( System . Guid ) , default ( System . Collections . Generic . IEnumerable < string > ) ) { }
6+ public System . Uri MediaUri { get { throw null ; } }
7+ Azure . Communication . Messages . AudioNotificationContent System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . AudioNotificationContent > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
8+ void System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . AudioNotificationContent > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
9+ Azure . Communication . Messages . AudioNotificationContent System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . AudioNotificationContent > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
10+ string System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . AudioNotificationContent > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
11+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . AudioNotificationContent > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
12+ }
313 public partial class CommunicationMessagesClientOptions : Azure . Core . ClientOptions
414 {
5- public CommunicationMessagesClientOptions ( Azure . Communication . Messages . CommunicationMessagesClientOptions . ServiceVersion version = Azure . Communication . Messages . CommunicationMessagesClientOptions . ServiceVersion . V2024_02_01 ) { }
15+ public CommunicationMessagesClientOptions ( Azure . Communication . Messages . CommunicationMessagesClientOptions . ServiceVersion version = Azure . Communication . Messages . CommunicationMessagesClientOptions . ServiceVersion . V2024_08_30 ) { }
616 public enum ServiceVersion
717 {
818 V2024_02_01 = 1 ,
19+ V2024_08_30 = 2 ,
920 }
1021 }
1122 public static partial class CommunicationMessagesModelFactory
1223 {
24+ public static Azure . Communication . Messages . AudioNotificationContent AudioNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , System . Uri mediaUri = null ) { throw null ; }
25+ public static Azure . Communication . Messages . DocumentNotificationContent DocumentNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , string caption = null , string fileName = null , System . Uri mediaUri = null ) { throw null ; }
26+ public static Azure . Communication . Messages . ImageNotificationContent ImageNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , string caption = null , System . Uri mediaUri = null ) { throw null ; }
1327 public static Azure . Communication . Messages . MediaNotificationContent MediaNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , string content = null , System . Uri mediaUri = null ) { throw null ; }
1428 public static Azure . Communication . Messages . MessageReceipt MessageReceipt ( string messageId = null , string to = null ) { throw null ; }
1529 public static Azure . Communication . Messages . MessageTemplate MessageTemplate ( string name = null , string language = null , System . Collections . Generic . IEnumerable < Azure . Communication . Messages . MessageTemplateValue > values = null , Azure . Communication . Messages . MessageTemplateBindings bindings = null ) { throw null ; }
@@ -24,8 +38,33 @@ public static partial class CommunicationMessagesModelFactory
2438 public static Azure . Communication . Messages . SendMessageResult SendMessageResult ( System . Collections . Generic . IEnumerable < Azure . Communication . Messages . MessageReceipt > receipts = null ) { throw null ; }
2539 public static Azure . Communication . Messages . TemplateNotificationContent TemplateNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , Azure . Communication . Messages . MessageTemplate template = null ) { throw null ; }
2640 public static Azure . Communication . Messages . TextNotificationContent TextNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , string content = null ) { throw null ; }
41+ public static Azure . Communication . Messages . VideoNotificationContent VideoNotificationContent ( System . Guid channelRegistrationId = default ( System . Guid ) , System . Collections . Generic . IEnumerable < string > to = null , string caption = null , System . Uri mediaUri = null ) { throw null ; }
2742 public static Azure . Communication . Messages . Models . Channels . WhatsAppMessageTemplateItem WhatsAppMessageTemplateItem ( string name = null , string language = null , Azure . Communication . Messages . MessageTemplateStatus status = default ( Azure . Communication . Messages . MessageTemplateStatus ) , System . BinaryData content = null ) { throw null ; }
2843 }
44+ public partial class DocumentNotificationContent : Azure . Communication . Messages . NotificationContent , System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . DocumentNotificationContent > , System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . DocumentNotificationContent >
45+ {
46+ public DocumentNotificationContent ( System . Guid channelRegistrationId , System . Collections . Generic . IEnumerable < string > to , System . Uri mediaUri ) : base ( default ( System . Guid ) , default ( System . Collections . Generic . IEnumerable < string > ) ) { }
47+ public string Caption { get { throw null ; } set { } }
48+ public string FileName { get { throw null ; } set { } }
49+ public System . Uri MediaUri { get { throw null ; } }
50+ Azure . Communication . Messages . DocumentNotificationContent System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . DocumentNotificationContent > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
51+ void System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . DocumentNotificationContent > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
52+ Azure . Communication . Messages . DocumentNotificationContent System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . DocumentNotificationContent > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
53+ string System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . DocumentNotificationContent > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
54+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . DocumentNotificationContent > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
55+ }
56+ public partial class ImageNotificationContent : Azure . Communication . Messages . NotificationContent , System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . ImageNotificationContent > , System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . ImageNotificationContent >
57+ {
58+ public ImageNotificationContent ( System . Guid channelRegistrationId , System . Collections . Generic . IEnumerable < string > to , System . Uri mediaUri ) : base ( default ( System . Guid ) , default ( System . Collections . Generic . IEnumerable < string > ) ) { }
59+ public string Caption { get { throw null ; } set { } }
60+ public System . Uri MediaUri { get { throw null ; } }
61+ Azure . Communication . Messages . ImageNotificationContent System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . ImageNotificationContent > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
62+ void System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . ImageNotificationContent > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
63+ Azure . Communication . Messages . ImageNotificationContent System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . ImageNotificationContent > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
64+ string System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . ImageNotificationContent > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
65+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . ImageNotificationContent > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
66+ }
67+ [ System . ObsoleteAttribute ( "`MediaNotificationContent` is being deprecated, we encourage you to use the new `ImageNotificationContent` for sending images instead." ) ]
2968 public partial class MediaNotificationContent : Azure . Communication . Messages . NotificationContent , System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . MediaNotificationContent > , System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . MediaNotificationContent >
3069 {
3170 public MediaNotificationContent ( System . Guid channelRegistrationId , System . Collections . Generic . IEnumerable < string > to , System . Uri mediaUri ) : base ( default ( System . Guid ) , default ( System . Collections . Generic . IEnumerable < string > ) ) { }
@@ -258,6 +297,17 @@ public partial class TextNotificationContent : Azure.Communication.Messages.Noti
258297 string System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . TextNotificationContent > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
259298 System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . TextNotificationContent > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
260299 }
300+ public partial class VideoNotificationContent : Azure . Communication . Messages . NotificationContent , System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . VideoNotificationContent > , System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . VideoNotificationContent >
301+ {
302+ public VideoNotificationContent ( System . Guid channelRegistrationId , System . Collections . Generic . IEnumerable < string > to , System . Uri mediaUri ) : base ( default ( System . Guid ) , default ( System . Collections . Generic . IEnumerable < string > ) ) { }
303+ public string Caption { get { throw null ; } set { } }
304+ public System . Uri MediaUri { get { throw null ; } }
305+ Azure . Communication . Messages . VideoNotificationContent System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . VideoNotificationContent > . Create ( ref System . Text . Json . Utf8JsonReader reader , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
306+ void System . ClientModel . Primitives . IJsonModel < Azure . Communication . Messages . VideoNotificationContent > . Write ( System . Text . Json . Utf8JsonWriter writer , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { }
307+ Azure . Communication . Messages . VideoNotificationContent System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . VideoNotificationContent > . Create ( System . BinaryData data , System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
308+ string System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . VideoNotificationContent > . GetFormatFromOptions ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
309+ System . BinaryData System . ClientModel . Primitives . IPersistableModel < Azure . Communication . Messages . VideoNotificationContent > . Write ( System . ClientModel . Primitives . ModelReaderWriterOptions options ) { throw null ; }
310+ }
261311}
262312namespace Azure . Communication . Messages . Models . Channels
263313{
0 commit comments