winrt-Windows.ApplicationModel.Chat 3.2.1__cp314-cp314-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,799 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
12
+ import winrt.system
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.media.mediaproperties as windows_media_mediaproperties
16
+ import winrt.windows.security.credentials as windows_security_credentials
17
+ import winrt.windows.storage.streams as windows_storage_streams
18
+
19
+ from winrt.windows.applicationmodel.chat import ChatConversationThreadingKind, ChatItemKind, ChatMessageChangeType, ChatMessageKind, ChatMessageOperatorKind, ChatMessageStatus, ChatMessageTransportKind, ChatMessageValidationStatus, ChatRestoreHistorySpan, ChatStoreChangedEventKind, ChatTransportErrorCodeCategory, ChatTransportInterpretedErrorCode, RcsServiceKind
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class ChatCapabilities(winrt.system.Object):
25
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsChatCapable()
26
+ @_property
27
+ def is_chat_capable(self) -> bool: ...
28
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsFileTransferCapable()
29
+ @_property
30
+ def is_file_transfer_capable(self) -> bool: ...
31
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsGeoLocationPushCapable()
32
+ @_property
33
+ def is_geo_location_push_capable(self) -> bool: ...
34
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsIntegratedMessagingCapable()
35
+ @_property
36
+ def is_integrated_messaging_capable(self) -> bool: ...
37
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsOnline()
38
+ @_property
39
+ def is_online(self) -> bool: ...
40
+
41
+ @typing.final
42
+ class ChatCapabilitiesManager_Static(winrt._winrt.IInspectable_Static):
43
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCachedCapabilitiesAsync(System.String)
44
+ def get_cached_capabilities_async(cls, address: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
45
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCachedCapabilitiesAsync(System.String,System.String)
46
+ def get_cached_capabilities_for_transport_async(cls, address: str, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
47
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCapabilitiesFromNetworkAsync(System.String)
48
+ def get_capabilities_from_network_async(cls, address: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
49
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCapabilitiesFromNetworkAsync(System.String,System.String)
50
+ def get_capabilities_from_network_for_transport_async(cls, address: str, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
51
+
52
+ @typing.final
53
+ class ChatCapabilitiesManager(winrt.system.Object, metaclass=ChatCapabilitiesManager_Static):
54
+ pass
55
+
56
+ @typing.final
57
+ class ChatConversation(winrt.system.Object, IChatItem):
58
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::DeleteAsync()
59
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
60
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatConversation::GetMessageReader()
61
+ def get_message_reader(self) -> ChatMessageReader: ...
62
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::MarkMessagesAsReadAsync()
63
+ def mark_all_messages_as_read_async(self) -> windows_foundation.IAsyncAction: ...
64
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::MarkMessagesAsReadAsync(Windows.Foundation.DateTime)
65
+ def mark_messages_as_read_async(self, value: datetime.datetime, /) -> windows_foundation.IAsyncAction: ...
66
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::NotifyLocalParticipantComposing(System.String,System.String,System.Boolean)
67
+ def notify_local_participant_composing(self, transport_id: str, participant_address: str, is_composing: bool, /) -> None: ...
68
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::NotifyRemoteParticipantComposing(System.String,System.String,System.Boolean)
69
+ def notify_remote_participant_composing(self, transport_id: str, participant_address: str, is_composing: bool, /) -> None: ...
70
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::SaveAsync()
71
+ def save_async(self) -> windows_foundation.IAsyncAction: ...
72
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.ChatConversation::add_RemoteParticipantComposingChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.ChatConversation,Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs>)
73
+ def add_remote_participant_composing_changed(self, handler: windows_foundation.TypedEventHandler[ChatConversation, RemoteParticipantComposingChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
74
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::remove_RemoteParticipantComposingChanged(Windows.Foundation.EventRegistrationToken)
75
+ def remove_remote_participant_composing_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
76
+ # System.String Windows.ApplicationModel.Chat.ChatConversation::get_Subject()
77
+ @_property
78
+ def subject(self) -> str: ...
79
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::put_Subject(System.String)
80
+ @subject.setter
81
+ def subject(self, value: str) -> None: ...
82
+ # System.Boolean Windows.ApplicationModel.Chat.ChatConversation::get_IsConversationMuted()
83
+ @_property
84
+ def is_conversation_muted(self) -> bool: ...
85
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::put_IsConversationMuted(System.Boolean)
86
+ @is_conversation_muted.setter
87
+ def is_conversation_muted(self, value: bool) -> None: ...
88
+ # System.Boolean Windows.ApplicationModel.Chat.ChatConversation::get_HasUnreadMessages()
89
+ @_property
90
+ def has_unread_messages(self) -> bool: ...
91
+ # System.String Windows.ApplicationModel.Chat.ChatConversation::get_Id()
92
+ @_property
93
+ def id(self) -> str: ...
94
+ # System.String Windows.ApplicationModel.Chat.ChatConversation::get_MostRecentMessageId()
95
+ @_property
96
+ def most_recent_message_id(self) -> str: ...
97
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Chat.ChatConversation::get_Participants()
98
+ @_property
99
+ def participants(self) -> typing.MutableSequence[str]: ...
100
+ # Windows.ApplicationModel.Chat.ChatConversationThreadingInfo Windows.ApplicationModel.Chat.ChatConversation::get_ThreadingInfo()
101
+ @_property
102
+ def threading_info(self) -> ChatConversationThreadingInfo: ...
103
+ # System.Boolean Windows.ApplicationModel.Chat.ChatConversation::get_CanModifyParticipants()
104
+ @_property
105
+ def can_modify_participants(self) -> bool: ...
106
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::put_CanModifyParticipants(System.Boolean)
107
+ @can_modify_participants.setter
108
+ def can_modify_participants(self, value: bool) -> None: ...
109
+ # Windows.ApplicationModel.Chat.ChatItemKind Windows.ApplicationModel.Chat.ChatConversation::get_ItemKind()
110
+ @_property
111
+ def item_kind(self) -> ChatItemKind: ...
112
+
113
+ @typing.final
114
+ class ChatConversationReader(winrt.system.Object):
115
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatConversation>> Windows.ApplicationModel.Chat.ChatConversationReader::ReadBatchAsync()
116
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[ChatConversation]]: ...
117
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatConversation>> Windows.ApplicationModel.Chat.ChatConversationReader::ReadBatchAsync(System.Int32)
118
+ def read_batch_with_count_async(self, count: winrt.system.Int32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[ChatConversation]]: ...
119
+
120
+ @typing.final
121
+ class ChatConversationThreadingInfo(winrt.system.Object):
122
+ def __new__(cls: typing.Type[Self]) -> Self: ...
123
+ # Windows.ApplicationModel.Chat.ChatConversationThreadingKind Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_Kind()
124
+ @_property
125
+ def kind(self) -> ChatConversationThreadingKind: ...
126
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_Kind(Windows.ApplicationModel.Chat.ChatConversationThreadingKind)
127
+ @kind.setter
128
+ def kind(self, value: ChatConversationThreadingKind) -> None: ...
129
+ # System.String Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_Custom()
130
+ @_property
131
+ def custom(self) -> str: ...
132
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_Custom(System.String)
133
+ @custom.setter
134
+ def custom(self, value: str) -> None: ...
135
+ # System.String Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_ConversationId()
136
+ @_property
137
+ def conversation_id(self) -> str: ...
138
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_ConversationId(System.String)
139
+ @conversation_id.setter
140
+ def conversation_id(self, value: str) -> None: ...
141
+ # System.String Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_ContactId()
142
+ @_property
143
+ def contact_id(self) -> str: ...
144
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_ContactId(System.String)
145
+ @contact_id.setter
146
+ def contact_id(self, value: str) -> None: ...
147
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_Participants()
148
+ @_property
149
+ def participants(self) -> typing.MutableSequence[str]: ...
150
+
151
+ @typing.final
152
+ class ChatMessage(winrt.system.Object, IChatItem):
153
+ def __new__(cls: typing.Type[Self]) -> Self: ...
154
+ # Windows.ApplicationModel.Chat.ChatItemKind Windows.ApplicationModel.Chat.ChatMessage::get_ItemKind()
155
+ @_property
156
+ def item_kind(self) -> ChatItemKind: ...
157
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsIncoming()
158
+ @_property
159
+ def is_incoming(self) -> bool: ...
160
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsIncoming(System.Boolean)
161
+ @is_incoming.setter
162
+ def is_incoming(self, value: bool) -> None: ...
163
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsForwardingDisabled()
164
+ @_property
165
+ def is_forwarding_disabled(self) -> bool: ...
166
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsForwardingDisabled(System.Boolean)
167
+ @is_forwarding_disabled.setter
168
+ def is_forwarding_disabled(self, value: bool) -> None: ...
169
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_TransportId()
170
+ @_property
171
+ def transport_id(self) -> str: ...
172
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_TransportId(System.String)
173
+ @transport_id.setter
174
+ def transport_id(self, value: str) -> None: ...
175
+ # Windows.ApplicationModel.Chat.ChatMessageStatus Windows.ApplicationModel.Chat.ChatMessage::get_Status()
176
+ @_property
177
+ def status(self) -> ChatMessageStatus: ...
178
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_Status(Windows.ApplicationModel.Chat.ChatMessageStatus)
179
+ @status.setter
180
+ def status(self, value: ChatMessageStatus) -> None: ...
181
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_From()
182
+ @_property
183
+ def from_(self) -> str: ...
184
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_From(System.String)
185
+ @from_.setter
186
+ def from_(self, value: str) -> None: ...
187
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_Body()
188
+ @_property
189
+ def body(self) -> str: ...
190
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_Body(System.String)
191
+ @body.setter
192
+ def body(self, value: str) -> None: ...
193
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_Subject()
194
+ @_property
195
+ def subject(self) -> str: ...
196
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_Subject(System.String)
197
+ @subject.setter
198
+ def subject(self, value: str) -> None: ...
199
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsRead()
200
+ @_property
201
+ def is_read(self) -> bool: ...
202
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsRead(System.Boolean)
203
+ @is_read.setter
204
+ def is_read(self, value: bool) -> None: ...
205
+ # Windows.Foundation.DateTime Windows.ApplicationModel.Chat.ChatMessage::get_NetworkTimestamp()
206
+ @_property
207
+ def network_timestamp(self) -> datetime.datetime: ...
208
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_NetworkTimestamp(Windows.Foundation.DateTime)
209
+ @network_timestamp.setter
210
+ def network_timestamp(self, value: datetime.datetime) -> None: ...
211
+ # Windows.Foundation.DateTime Windows.ApplicationModel.Chat.ChatMessage::get_LocalTimestamp()
212
+ @_property
213
+ def local_timestamp(self) -> datetime.datetime: ...
214
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_LocalTimestamp(Windows.Foundation.DateTime)
215
+ @local_timestamp.setter
216
+ def local_timestamp(self, value: datetime.datetime) -> None: ...
217
+ # Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Chat.ChatMessageStatus> Windows.ApplicationModel.Chat.ChatMessage::get_RecipientSendStatuses()
218
+ @_property
219
+ def recipient_send_statuses(self) -> typing.Mapping[str, ChatMessageStatus]: ...
220
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Chat.ChatMessage::get_Recipients()
221
+ @_property
222
+ def recipients(self) -> typing.MutableSequence[str]: ...
223
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_TransportFriendlyName()
224
+ @_property
225
+ def transport_friendly_name(self) -> str: ...
226
+ # Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Chat.ChatMessageAttachment> Windows.ApplicationModel.Chat.ChatMessage::get_Attachments()
227
+ @_property
228
+ def attachments(self) -> typing.MutableSequence[ChatMessageAttachment]: ...
229
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_Id()
230
+ @_property
231
+ def id(self) -> str: ...
232
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsSeen()
233
+ @_property
234
+ def is_seen(self) -> bool: ...
235
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsSeen(System.Boolean)
236
+ @is_seen.setter
237
+ def is_seen(self, value: bool) -> None: ...
238
+ # Windows.ApplicationModel.Chat.ChatMessageKind Windows.ApplicationModel.Chat.ChatMessage::get_MessageKind()
239
+ @_property
240
+ def message_kind(self) -> ChatMessageKind: ...
241
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_MessageKind(Windows.ApplicationModel.Chat.ChatMessageKind)
242
+ @message_kind.setter
243
+ def message_kind(self, value: ChatMessageKind) -> None: ...
244
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsReceivedDuringQuietHours()
245
+ @_property
246
+ def is_received_during_quiet_hours(self) -> bool: ...
247
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsReceivedDuringQuietHours(System.Boolean)
248
+ @is_received_during_quiet_hours.setter
249
+ def is_received_during_quiet_hours(self, value: bool) -> None: ...
250
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsAutoReply()
251
+ @_property
252
+ def is_auto_reply(self) -> bool: ...
253
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsAutoReply(System.Boolean)
254
+ @is_auto_reply.setter
255
+ def is_auto_reply(self, value: bool) -> None: ...
256
+ # System.UInt64 Windows.ApplicationModel.Chat.ChatMessage::get_EstimatedDownloadSize()
257
+ @_property
258
+ def estimated_download_size(self) -> winrt.system.UInt64: ...
259
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_EstimatedDownloadSize(System.UInt64)
260
+ @estimated_download_size.setter
261
+ def estimated_download_size(self, value: winrt.system.UInt64) -> None: ...
262
+ # Windows.ApplicationModel.Chat.ChatConversationThreadingInfo Windows.ApplicationModel.Chat.ChatMessage::get_ThreadingInfo()
263
+ @_property
264
+ def threading_info(self) -> ChatConversationThreadingInfo: ...
265
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_ThreadingInfo(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo)
266
+ @threading_info.setter
267
+ def threading_info(self, value: ChatConversationThreadingInfo) -> None: ...
268
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_ShouldSuppressNotification()
269
+ @_property
270
+ def should_suppress_notification(self) -> bool: ...
271
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_ShouldSuppressNotification(System.Boolean)
272
+ @should_suppress_notification.setter
273
+ def should_suppress_notification(self, value: bool) -> None: ...
274
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_RemoteId()
275
+ @_property
276
+ def remote_id(self) -> str: ...
277
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_RemoteId(System.String)
278
+ @remote_id.setter
279
+ def remote_id(self, value: str) -> None: ...
280
+ # Windows.ApplicationModel.Chat.ChatMessageOperatorKind Windows.ApplicationModel.Chat.ChatMessage::get_MessageOperatorKind()
281
+ @_property
282
+ def message_operator_kind(self) -> ChatMessageOperatorKind: ...
283
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_MessageOperatorKind(Windows.ApplicationModel.Chat.ChatMessageOperatorKind)
284
+ @message_operator_kind.setter
285
+ def message_operator_kind(self, value: ChatMessageOperatorKind) -> None: ...
286
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsReplyDisabled()
287
+ @_property
288
+ def is_reply_disabled(self) -> bool: ...
289
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsSimMessage()
290
+ @_property
291
+ def is_sim_message(self) -> bool: ...
292
+ # Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo> Windows.ApplicationModel.Chat.ChatMessage::get_RecipientsDeliveryInfos()
293
+ @_property
294
+ def recipients_delivery_infos(self) -> typing.MutableSequence[ChatRecipientDeliveryInfo]: ...
295
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_SyncId()
296
+ @_property
297
+ def sync_id(self) -> str: ...
298
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_SyncId(System.String)
299
+ @sync_id.setter
300
+ def sync_id(self, value: str) -> None: ...
301
+
302
+ @typing.final
303
+ class ChatMessageAttachment(winrt.system.Object):
304
+ def __new__(cls: typing.Type[Self], mime_type: str, data_stream_reference: windows_storage_streams.IRandomAccessStreamReference) -> Self: ...
305
+ # System.String Windows.ApplicationModel.Chat.ChatMessageAttachment::get_Text()
306
+ @_property
307
+ def text(self) -> str: ...
308
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_Text(System.String)
309
+ @text.setter
310
+ def text(self, value: str) -> None: ...
311
+ # System.String Windows.ApplicationModel.Chat.ChatMessageAttachment::get_MimeType()
312
+ @_property
313
+ def mime_type(self) -> str: ...
314
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_MimeType(System.String)
315
+ @mime_type.setter
316
+ def mime_type(self, value: str) -> None: ...
317
+ # System.UInt32 Windows.ApplicationModel.Chat.ChatMessageAttachment::get_GroupId()
318
+ @_property
319
+ def group_id(self) -> winrt.system.UInt32: ...
320
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_GroupId(System.UInt32)
321
+ @group_id.setter
322
+ def group_id(self, value: winrt.system.UInt32) -> None: ...
323
+ # Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Chat.ChatMessageAttachment::get_DataStreamReference()
324
+ @_property
325
+ def data_stream_reference(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
326
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_DataStreamReference(Windows.Storage.Streams.IRandomAccessStreamReference)
327
+ @data_stream_reference.setter
328
+ def data_stream_reference(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
329
+ # System.Double Windows.ApplicationModel.Chat.ChatMessageAttachment::get_TransferProgress()
330
+ @_property
331
+ def transfer_progress(self) -> winrt.system.Double: ...
332
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_TransferProgress(System.Double)
333
+ @transfer_progress.setter
334
+ def transfer_progress(self, value: winrt.system.Double) -> None: ...
335
+ # Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Chat.ChatMessageAttachment::get_Thumbnail()
336
+ @_property
337
+ def thumbnail(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
338
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_Thumbnail(Windows.Storage.Streams.IRandomAccessStreamReference)
339
+ @thumbnail.setter
340
+ def thumbnail(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
341
+ # System.String Windows.ApplicationModel.Chat.ChatMessageAttachment::get_OriginalFileName()
342
+ @_property
343
+ def original_file_name(self) -> str: ...
344
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_OriginalFileName(System.String)
345
+ @original_file_name.setter
346
+ def original_file_name(self, value: str) -> None: ...
347
+
348
+ @typing.final
349
+ class ChatMessageBlocking_Static(winrt._winrt.IInspectable_Static):
350
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageBlocking::MarkMessageAsBlockedAsync(System.String,System.Boolean)
351
+ def mark_message_as_blocked_async(cls, local_chat_message_id: str, blocked: bool, /) -> windows_foundation.IAsyncAction: ...
352
+
353
+ @typing.final
354
+ class ChatMessageBlocking(winrt.system.Object, metaclass=ChatMessageBlocking_Static):
355
+ pass
356
+
357
+ @typing.final
358
+ class ChatMessageChange(winrt.system.Object):
359
+ # Windows.ApplicationModel.Chat.ChatMessageChangeType Windows.ApplicationModel.Chat.ChatMessageChange::get_ChangeType()
360
+ @_property
361
+ def change_type(self) -> ChatMessageChangeType: ...
362
+ # Windows.ApplicationModel.Chat.ChatMessage Windows.ApplicationModel.Chat.ChatMessageChange::get_Message()
363
+ @_property
364
+ def message(self) -> ChatMessage: ...
365
+
366
+ @typing.final
367
+ class ChatMessageChangeReader(winrt.system.Object):
368
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeReader::AcceptChanges()
369
+ def accept_changes(self) -> None: ...
370
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeReader::AcceptChangesThrough(Windows.ApplicationModel.Chat.ChatMessageChange)
371
+ def accept_changes_through(self, last_change_to_acknowledge: ChatMessageChange, /) -> None: ...
372
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessageChange>> Windows.ApplicationModel.Chat.ChatMessageChangeReader::ReadBatchAsync()
373
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[ChatMessageChange]]: ...
374
+
375
+ @typing.final
376
+ class ChatMessageChangeTracker(winrt.system.Object):
377
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeTracker::Enable()
378
+ def enable(self) -> None: ...
379
+ # Windows.ApplicationModel.Chat.ChatMessageChangeReader Windows.ApplicationModel.Chat.ChatMessageChangeTracker::GetChangeReader()
380
+ def get_change_reader(self) -> ChatMessageChangeReader: ...
381
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeTracker::Reset()
382
+ def reset(self) -> None: ...
383
+
384
+ @typing.final
385
+ class ChatMessageChangedDeferral(winrt.system.Object):
386
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangedDeferral::Complete()
387
+ def complete(self) -> None: ...
388
+
389
+ @typing.final
390
+ class ChatMessageChangedEventArgs(winrt.system.Object):
391
+ # Windows.ApplicationModel.Chat.ChatMessageChangedDeferral Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs::GetDeferral()
392
+ def get_deferral(self) -> ChatMessageChangedDeferral: ...
393
+
394
+ @typing.final
395
+ class ChatMessageManager_Static(winrt._winrt.IInspectable_Static):
396
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessageTransport> Windows.ApplicationModel.Chat.ChatMessageManager::GetTransportAsync(System.String)
397
+ def get_transport_async(cls, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessageTransport]: ...
398
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessageTransport>> Windows.ApplicationModel.Chat.ChatMessageManager::GetTransportsAsync()
399
+ def get_transports_async(cls) -> windows_foundation.IAsyncOperation[typing.Sequence[ChatMessageTransport]]: ...
400
+ # Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Chat.ChatMessageManager::RegisterTransportAsync()
401
+ def register_transport_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
402
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessageStore> Windows.ApplicationModel.Chat.ChatMessageManager::RequestStoreAsync()
403
+ def request_store_async(cls) -> windows_foundation.IAsyncOperation[ChatMessageStore]: ...
404
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatSyncManager> Windows.ApplicationModel.Chat.ChatMessageManager::RequestSyncManagerAsync()
405
+ def request_sync_manager_async(cls) -> windows_foundation.IAsyncOperation[ChatSyncManager]: ...
406
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageManager::ShowComposeSmsMessageAsync(Windows.ApplicationModel.Chat.ChatMessage)
407
+ def show_compose_sms_message_async(cls, message: ChatMessage, /) -> windows_foundation.IAsyncAction: ...
408
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageManager::ShowSmsSettings()
409
+ def show_sms_settings(cls) -> None: ...
410
+
411
+ @typing.final
412
+ class ChatMessageManager(winrt.system.Object, metaclass=ChatMessageManager_Static):
413
+ pass
414
+
415
+ @typing.final
416
+ class ChatMessageNotificationTriggerDetails(winrt.system.Object):
417
+ # Windows.ApplicationModel.Chat.ChatMessage Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ChatMessage()
418
+ @_property
419
+ def chat_message(self) -> ChatMessage: ...
420
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldDisplayToast()
421
+ @_property
422
+ def should_display_toast(self) -> bool: ...
423
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldUpdateActionCenter()
424
+ @_property
425
+ def should_update_action_center(self) -> bool: ...
426
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldUpdateBadge()
427
+ @_property
428
+ def should_update_badge(self) -> bool: ...
429
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldUpdateDetailText()
430
+ @_property
431
+ def should_update_detail_text(self) -> bool: ...
432
+
433
+ @typing.final
434
+ class ChatMessageReader(winrt.system.Object):
435
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessage>> Windows.ApplicationModel.Chat.ChatMessageReader::ReadBatchAsync()
436
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[ChatMessage]]: ...
437
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessage>> Windows.ApplicationModel.Chat.ChatMessageReader::ReadBatchAsync(System.Int32)
438
+ def read_batch_with_count_async(self, count: winrt.system.Int32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[ChatMessage]]: ...
439
+
440
+ @typing.final
441
+ class ChatMessageStore(winrt.system.Object):
442
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::DeleteMessageAsync(System.String)
443
+ def delete_message_async(self, local_message_id: str, /) -> windows_foundation.IAsyncAction: ...
444
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::DownloadMessageAsync(System.String)
445
+ def download_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncAction: ...
446
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::ForwardMessageAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
447
+ def forward_message_async(self, local_chat_message_id: str, addresses: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
448
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationAsync(System.String)
449
+ def get_conversation_async(self, conversation_id: str, /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
450
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
451
+ def get_conversation_for_transports_async(self, conversation_id: str, transport_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
452
+ # Windows.ApplicationModel.Chat.ChatConversationReader Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationReader(Windows.Foundation.Collections.IIterable`1<System.String>)
453
+ def get_conversation_for_transports_reader(self, transport_ids: typing.Iterable[str], /) -> ChatConversationReader: ...
454
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationFromThreadingInfoAsync(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo)
455
+ def get_conversation_from_threading_info_async(self, threading_info: ChatConversationThreadingInfo, /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
456
+ # Windows.ApplicationModel.Chat.ChatConversationReader Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationReader()
457
+ def get_conversation_reader(self) -> ChatConversationReader: ...
458
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageAsync(System.String)
459
+ def get_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
460
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageByRemoteIdAsync(System.String,System.String)
461
+ def get_message_by_remote_id_async(self, transport_id: str, remote_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
462
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageBySyncIdAsync(System.String)
463
+ def get_message_by_sync_id_async(self, sync_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
464
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageReader()
465
+ def get_message_reader1(self) -> ChatMessageReader: ...
466
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageReader(Windows.Foundation.TimeSpan)
467
+ def get_message_reader2(self, recent_time_limit: datetime.timedelta, /) -> ChatMessageReader: ...
468
+ # Windows.ApplicationModel.Chat.ChatSearchReader Windows.ApplicationModel.Chat.ChatMessageStore::GetSearchReader(Windows.ApplicationModel.Chat.ChatQueryOptions)
469
+ def get_search_reader(self, value: ChatQueryOptions, /) -> ChatSearchReader: ...
470
+ # Windows.Foundation.IAsyncOperation`1<System.Int32> Windows.ApplicationModel.Chat.ChatMessageStore::GetUnseenCountAsync()
471
+ def get_unseen_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.Int32]: ...
472
+ # Windows.Foundation.IAsyncOperation`1<System.Int32> Windows.ApplicationModel.Chat.ChatMessageStore::GetUnseenCountAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
473
+ def get_unseen_count_for_transports_reader_async(self, transport_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[winrt.system.Int32]: ...
474
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkAsSeenAsync()
475
+ def mark_as_seen_async(self) -> windows_foundation.IAsyncAction: ...
476
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkAsSeenAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
477
+ def mark_as_seen_for_transports_async(self, transport_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
478
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkMessageReadAsync(System.String)
479
+ def mark_message_read_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncAction: ...
480
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::RetrySendMessageAsync(System.String)
481
+ def retry_send_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncAction: ...
482
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::SaveMessageAsync(Windows.ApplicationModel.Chat.ChatMessage)
483
+ def save_message_async(self, chat_message: ChatMessage, /) -> windows_foundation.IAsyncAction: ...
484
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::SendMessageAsync(Windows.ApplicationModel.Chat.ChatMessage)
485
+ def send_message_async(self, chat_message: ChatMessage, /) -> windows_foundation.IAsyncAction: ...
486
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Chat.ChatMessageStore::TryCancelDownloadMessageAsync(System.String)
487
+ def try_cancel_download_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
488
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Chat.ChatMessageStore::TryCancelSendMessageAsync(System.String)
489
+ def try_cancel_send_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
490
+ # Windows.ApplicationModel.Chat.ChatMessageValidationResult Windows.ApplicationModel.Chat.ChatMessageStore::ValidateMessage(Windows.ApplicationModel.Chat.ChatMessage)
491
+ def validate_message(self, chat_message: ChatMessage, /) -> ChatMessageValidationResult: ...
492
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.ChatMessageStore::add_MessageChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.ChatMessageStore,Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs>)
493
+ def add_message_changed(self, value: windows_foundation.TypedEventHandler[ChatMessageStore, ChatMessageChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
494
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageStore::remove_MessageChanged(Windows.Foundation.EventRegistrationToken)
495
+ def remove_message_changed(self, value: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
496
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.ChatMessageStore::add_StoreChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.ChatMessageStore,Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs>)
497
+ def add_store_changed(self, handler: windows_foundation.TypedEventHandler[ChatMessageStore, ChatMessageStoreChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
498
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageStore::remove_StoreChanged(Windows.Foundation.EventRegistrationToken)
499
+ def remove_store_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
500
+ # Windows.ApplicationModel.Chat.ChatMessageChangeTracker Windows.ApplicationModel.Chat.ChatMessageStore::get_ChangeTracker()
501
+ @_property
502
+ def change_tracker(self) -> ChatMessageChangeTracker: ...
503
+
504
+ @typing.final
505
+ class ChatMessageStoreChangedEventArgs(winrt.system.Object):
506
+ # System.String Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs::get_Id()
507
+ @_property
508
+ def id(self) -> str: ...
509
+ # Windows.ApplicationModel.Chat.ChatStoreChangedEventKind Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs::get_Kind()
510
+ @_property
511
+ def kind(self) -> ChatStoreChangedEventKind: ...
512
+
513
+ @typing.final
514
+ class ChatMessageTransport(winrt.system.Object):
515
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageTransport::RequestSetAsNotificationProviderAsync()
516
+ def request_set_as_notification_provider_async(self) -> windows_foundation.IAsyncAction: ...
517
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageTransport::get_IsActive()
518
+ @_property
519
+ def is_active(self) -> bool: ...
520
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageTransport::get_IsAppSetAsNotificationProvider()
521
+ @_property
522
+ def is_app_set_as_notification_provider(self) -> bool: ...
523
+ # System.String Windows.ApplicationModel.Chat.ChatMessageTransport::get_TransportFriendlyName()
524
+ @_property
525
+ def transport_friendly_name(self) -> str: ...
526
+ # System.String Windows.ApplicationModel.Chat.ChatMessageTransport::get_TransportId()
527
+ @_property
528
+ def transport_id(self) -> str: ...
529
+ # Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration Windows.ApplicationModel.Chat.ChatMessageTransport::get_Configuration()
530
+ @_property
531
+ def configuration(self) -> ChatMessageTransportConfiguration: ...
532
+ # Windows.ApplicationModel.Chat.ChatMessageTransportKind Windows.ApplicationModel.Chat.ChatMessageTransport::get_TransportKind()
533
+ @_property
534
+ def transport_kind(self) -> ChatMessageTransportKind: ...
535
+
536
+ @typing.final
537
+ class ChatMessageTransportConfiguration(winrt.system.Object):
538
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_ExtendedProperties()
539
+ @_property
540
+ def extended_properties(self) -> typing.Mapping[str, winrt.system.Object]: ...
541
+ # System.Int32 Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_MaxAttachmentCount()
542
+ @_property
543
+ def max_attachment_count(self) -> winrt.system.Int32: ...
544
+ # System.Int32 Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_MaxMessageSizeInKilobytes()
545
+ @_property
546
+ def max_message_size_in_kilobytes(self) -> winrt.system.Int32: ...
547
+ # System.Int32 Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_MaxRecipientCount()
548
+ @_property
549
+ def max_recipient_count(self) -> winrt.system.Int32: ...
550
+ # Windows.Media.MediaProperties.MediaEncodingProfile Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_SupportedVideoFormat()
551
+ @_property
552
+ def supported_video_format(self) -> windows_media_mediaproperties.MediaEncodingProfile: ...
553
+
554
+ @typing.final
555
+ class ChatMessageValidationResult(winrt.system.Object):
556
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_MaxPartCount()
557
+ @_property
558
+ def max_part_count(self) -> typing.Optional[winrt.system.UInt32]: ...
559
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_PartCount()
560
+ @_property
561
+ def part_count(self) -> typing.Optional[winrt.system.UInt32]: ...
562
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_RemainingCharacterCountInPart()
563
+ @_property
564
+ def remaining_character_count_in_part(self) -> typing.Optional[winrt.system.UInt32]: ...
565
+ # Windows.ApplicationModel.Chat.ChatMessageValidationStatus Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_Status()
566
+ @_property
567
+ def status(self) -> ChatMessageValidationStatus: ...
568
+
569
+ @typing.final
570
+ class ChatQueryOptions(winrt.system.Object):
571
+ def __new__(cls: typing.Type[Self]) -> Self: ...
572
+ # System.String Windows.ApplicationModel.Chat.ChatQueryOptions::get_SearchString()
573
+ @_property
574
+ def search_string(self) -> str: ...
575
+ # System.Void Windows.ApplicationModel.Chat.ChatQueryOptions::put_SearchString(System.String)
576
+ @search_string.setter
577
+ def search_string(self, value: str) -> None: ...
578
+
579
+ @typing.final
580
+ class ChatRecipientDeliveryInfo(winrt.system.Object):
581
+ def __new__(cls: typing.Type[Self]) -> Self: ...
582
+ # System.String Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportAddress()
583
+ @_property
584
+ def transport_address(self) -> str: ...
585
+ # System.Void Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::put_TransportAddress(System.String)
586
+ @transport_address.setter
587
+ def transport_address(self, value: str) -> None: ...
588
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_ReadTime()
589
+ @_property
590
+ def read_time(self) -> typing.Optional[datetime.datetime]: ...
591
+ # System.Void Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::put_ReadTime(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
592
+ @read_time.setter
593
+ def read_time(self, value: typing.Optional[datetime.datetime]) -> None: ...
594
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_DeliveryTime()
595
+ @_property
596
+ def delivery_time(self) -> typing.Optional[datetime.datetime]: ...
597
+ # System.Void Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::put_DeliveryTime(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
598
+ @delivery_time.setter
599
+ def delivery_time(self, value: typing.Optional[datetime.datetime]) -> None: ...
600
+ # System.Boolean Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_IsErrorPermanent()
601
+ @_property
602
+ def is_error_permanent(self) -> bool: ...
603
+ # Windows.ApplicationModel.Chat.ChatMessageStatus Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_Status()
604
+ @_property
605
+ def status(self) -> ChatMessageStatus: ...
606
+ # System.Int32 Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportErrorCode()
607
+ @_property
608
+ def transport_error_code(self) -> winrt.system.Int32: ...
609
+ # Windows.ApplicationModel.Chat.ChatTransportErrorCodeCategory Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportErrorCodeCategory()
610
+ @_property
611
+ def transport_error_code_category(self) -> ChatTransportErrorCodeCategory: ...
612
+ # Windows.ApplicationModel.Chat.ChatTransportInterpretedErrorCode Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportInterpretedErrorCode()
613
+ @_property
614
+ def transport_interpreted_error_code(self) -> ChatTransportInterpretedErrorCode: ...
615
+
616
+ @typing.final
617
+ class ChatSearchReader(winrt.system.Object):
618
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.IChatItem>> Windows.ApplicationModel.Chat.ChatSearchReader::ReadBatchAsync()
619
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[IChatItem]]: ...
620
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.IChatItem>> Windows.ApplicationModel.Chat.ChatSearchReader::ReadBatchAsync(System.Int32)
621
+ def read_batch_with_count_async(self, count: winrt.system.Int32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[IChatItem]]: ...
622
+
623
+ @typing.final
624
+ class ChatSyncConfiguration(winrt.system.Object):
625
+ # Windows.ApplicationModel.Chat.ChatRestoreHistorySpan Windows.ApplicationModel.Chat.ChatSyncConfiguration::get_RestoreHistorySpan()
626
+ @_property
627
+ def restore_history_span(self) -> ChatRestoreHistorySpan: ...
628
+ # System.Void Windows.ApplicationModel.Chat.ChatSyncConfiguration::put_RestoreHistorySpan(Windows.ApplicationModel.Chat.ChatRestoreHistorySpan)
629
+ @restore_history_span.setter
630
+ def restore_history_span(self, value: ChatRestoreHistorySpan) -> None: ...
631
+ # System.Boolean Windows.ApplicationModel.Chat.ChatSyncConfiguration::get_IsSyncEnabled()
632
+ @_property
633
+ def is_sync_enabled(self) -> bool: ...
634
+ # System.Void Windows.ApplicationModel.Chat.ChatSyncConfiguration::put_IsSyncEnabled(System.Boolean)
635
+ @is_sync_enabled.setter
636
+ def is_sync_enabled(self, value: bool) -> None: ...
637
+
638
+ @typing.final
639
+ class ChatSyncManager(winrt.system.Object):
640
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatSyncManager::AssociateAccountAsync(Windows.Security.Credentials.WebAccount)
641
+ def associate_account_async(self, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncAction: ...
642
+ # System.Boolean Windows.ApplicationModel.Chat.ChatSyncManager::IsAccountAssociated(Windows.Security.Credentials.WebAccount)
643
+ def is_account_associated(self, web_account: windows_security_credentials.WebAccount, /) -> bool: ...
644
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatSyncManager::SetConfigurationAsync(Windows.ApplicationModel.Chat.ChatSyncConfiguration)
645
+ def set_configuration_async(self, configuration: ChatSyncConfiguration, /) -> windows_foundation.IAsyncAction: ...
646
+ # System.Void Windows.ApplicationModel.Chat.ChatSyncManager::StartSync()
647
+ def start_sync(self) -> None: ...
648
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatSyncManager::UnassociateAccountAsync()
649
+ def unassociate_account_async(self) -> windows_foundation.IAsyncAction: ...
650
+ # Windows.ApplicationModel.Chat.ChatSyncConfiguration Windows.ApplicationModel.Chat.ChatSyncManager::get_Configuration()
651
+ @_property
652
+ def configuration(self) -> ChatSyncConfiguration: ...
653
+
654
+ @typing.final
655
+ class RcsEndUserMessage(winrt.system.Object):
656
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.RcsEndUserMessage::SendResponseAsync(Windows.ApplicationModel.Chat.RcsEndUserMessageAction)
657
+ def send_response_async(self, action: RcsEndUserMessageAction, /) -> windows_foundation.IAsyncAction: ...
658
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.RcsEndUserMessage::SendResponseWithPinAsync(Windows.ApplicationModel.Chat.RcsEndUserMessageAction,System.String)
659
+ def send_response_with_pin_async(self, action: RcsEndUserMessageAction, pin: str, /) -> windows_foundation.IAsyncAction: ...
660
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.RcsEndUserMessageAction> Windows.ApplicationModel.Chat.RcsEndUserMessage::get_Actions()
661
+ @_property
662
+ def actions(self) -> typing.Sequence[RcsEndUserMessageAction]: ...
663
+ # System.Boolean Windows.ApplicationModel.Chat.RcsEndUserMessage::get_IsPinRequired()
664
+ @_property
665
+ def is_pin_required(self) -> bool: ...
666
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessage::get_Text()
667
+ @_property
668
+ def text(self) -> str: ...
669
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessage::get_Title()
670
+ @_property
671
+ def title(self) -> str: ...
672
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessage::get_TransportId()
673
+ @_property
674
+ def transport_id(self) -> str: ...
675
+
676
+ @typing.final
677
+ class RcsEndUserMessageAction(winrt.system.Object):
678
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessageAction::get_Label()
679
+ @_property
680
+ def label(self) -> str: ...
681
+
682
+ @typing.final
683
+ class RcsEndUserMessageAvailableEventArgs(winrt.system.Object):
684
+ # System.Boolean Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs::get_IsMessageAvailable()
685
+ @_property
686
+ def is_message_available(self) -> bool: ...
687
+ # Windows.ApplicationModel.Chat.RcsEndUserMessage Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs::get_Message()
688
+ @_property
689
+ def message(self) -> RcsEndUserMessage: ...
690
+
691
+ @typing.final
692
+ class RcsEndUserMessageAvailableTriggerDetails(winrt.system.Object):
693
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails::get_Text()
694
+ @_property
695
+ def text(self) -> str: ...
696
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails::get_Title()
697
+ @_property
698
+ def title(self) -> str: ...
699
+
700
+ @typing.final
701
+ class RcsEndUserMessageManager(winrt.system.Object):
702
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.RcsEndUserMessageManager::add_MessageAvailableChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.RcsEndUserMessageManager,Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs>)
703
+ def add_message_available_changed(self, handler: windows_foundation.TypedEventHandler[RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
704
+ # System.Void Windows.ApplicationModel.Chat.RcsEndUserMessageManager::remove_MessageAvailableChanged(Windows.Foundation.EventRegistrationToken)
705
+ def remove_message_available_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
706
+
707
+ @typing.final
708
+ class RcsManager_Static(winrt._winrt.IInspectable_Static):
709
+ # Windows.ApplicationModel.Chat.RcsEndUserMessageManager Windows.ApplicationModel.Chat.RcsManager::GetEndUserMessageManager()
710
+ def get_end_user_message_manager(cls) -> RcsEndUserMessageManager: ...
711
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.RcsTransport> Windows.ApplicationModel.Chat.RcsManager::GetTransportAsync(System.String)
712
+ def get_transport_async(cls, transport_id: str, /) -> windows_foundation.IAsyncOperation[RcsTransport]: ...
713
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.RcsTransport>> Windows.ApplicationModel.Chat.RcsManager::GetTransportsAsync()
714
+ def get_transports_async(cls) -> windows_foundation.IAsyncOperation[typing.Sequence[RcsTransport]]: ...
715
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.RcsManager::LeaveConversationAsync(Windows.ApplicationModel.Chat.ChatConversation)
716
+ def leave_conversation_async(cls, conversation: ChatConversation, /) -> windows_foundation.IAsyncAction: ...
717
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.RcsManager::add_TransportListChanged(Windows.Foundation.EventHandler`1<System.Object>)
718
+ def add_transport_list_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
719
+ # System.Void Windows.ApplicationModel.Chat.RcsManager::remove_TransportListChanged(Windows.Foundation.EventRegistrationToken)
720
+ def remove_transport_list_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
721
+
722
+ @typing.final
723
+ class RcsManager(winrt.system.Object, metaclass=RcsManager_Static):
724
+ pass
725
+
726
+ @typing.final
727
+ class RcsServiceKindSupportedChangedEventArgs(winrt.system.Object):
728
+ # Windows.ApplicationModel.Chat.RcsServiceKind Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs::get_ServiceKind()
729
+ @_property
730
+ def service_kind(self) -> RcsServiceKind: ...
731
+
732
+ @typing.final
733
+ class RcsTransport(winrt.system.Object):
734
+ # System.Boolean Windows.ApplicationModel.Chat.RcsTransport::IsServiceKindSupported(Windows.ApplicationModel.Chat.RcsServiceKind)
735
+ def is_service_kind_supported(self, service_kind: RcsServiceKind, /) -> bool: ...
736
+ # System.Boolean Windows.ApplicationModel.Chat.RcsTransport::IsStoreAndForwardEnabled(Windows.ApplicationModel.Chat.RcsServiceKind)
737
+ def is_store_and_forward_enabled(self, service_kind: RcsServiceKind, /) -> bool: ...
738
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.RcsTransport::add_ServiceKindSupportedChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.RcsTransport,Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs>)
739
+ def add_service_kind_supported_changed(self, handler: windows_foundation.TypedEventHandler[RcsTransport, RcsServiceKindSupportedChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
740
+ # System.Void Windows.ApplicationModel.Chat.RcsTransport::remove_ServiceKindSupportedChanged(Windows.Foundation.EventRegistrationToken)
741
+ def remove_service_kind_supported_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
742
+ # Windows.ApplicationModel.Chat.RcsTransportConfiguration Windows.ApplicationModel.Chat.RcsTransport::get_Configuration()
743
+ @_property
744
+ def configuration(self) -> RcsTransportConfiguration: ...
745
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.ApplicationModel.Chat.RcsTransport::get_ExtendedProperties()
746
+ @_property
747
+ def extended_properties(self) -> typing.Mapping[str, winrt.system.Object]: ...
748
+ # System.Boolean Windows.ApplicationModel.Chat.RcsTransport::get_IsActive()
749
+ @_property
750
+ def is_active(self) -> bool: ...
751
+ # System.String Windows.ApplicationModel.Chat.RcsTransport::get_TransportFriendlyName()
752
+ @_property
753
+ def transport_friendly_name(self) -> str: ...
754
+ # System.String Windows.ApplicationModel.Chat.RcsTransport::get_TransportId()
755
+ @_property
756
+ def transport_id(self) -> str: ...
757
+
758
+ @typing.final
759
+ class RcsTransportConfiguration(winrt.system.Object):
760
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxAttachmentCount()
761
+ @_property
762
+ def max_attachment_count(self) -> winrt.system.Int32: ...
763
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxFileSizeInKilobytes()
764
+ @_property
765
+ def max_file_size_in_kilobytes(self) -> winrt.system.Int32: ...
766
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxGroupMessageSizeInKilobytes()
767
+ @_property
768
+ def max_group_message_size_in_kilobytes(self) -> winrt.system.Int32: ...
769
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxMessageSizeInKilobytes()
770
+ @_property
771
+ def max_message_size_in_kilobytes(self) -> winrt.system.Int32: ...
772
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxRecipientCount()
773
+ @_property
774
+ def max_recipient_count(self) -> winrt.system.Int32: ...
775
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_WarningFileSizeInKilobytes()
776
+ @_property
777
+ def warning_file_size_in_kilobytes(self) -> winrt.system.Int32: ...
778
+
779
+ @typing.final
780
+ class RemoteParticipantComposingChangedEventArgs(winrt.system.Object):
781
+ # System.Boolean Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs::get_IsComposing()
782
+ @_property
783
+ def is_composing(self) -> bool: ...
784
+ # System.String Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs::get_ParticipantAddress()
785
+ @_property
786
+ def participant_address(self) -> str: ...
787
+ # System.String Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs::get_TransportId()
788
+ @_property
789
+ def transport_id(self) -> str: ...
790
+
791
+ @typing.final
792
+ class _IChatItem: ...
793
+
794
+ class IChatItem(winrt._winrt.IInspectable):
795
+ # Windows.ApplicationModel.Chat.ChatItemKind Windows.ApplicationModel.Chat.IChatItem::get_ItemKind()
796
+ @_property
797
+ @abstractmethod
798
+ def item_kind(self) -> ChatItemKind: ...
799
+
@@ -0,0 +1,203 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_applicationmodel_chat import (
7
+ ChatCapabilities,
8
+ ChatCapabilitiesManager,
9
+ ChatConversation,
10
+ ChatConversationReader,
11
+ ChatConversationThreadingInfo,
12
+ ChatMessage,
13
+ ChatMessageAttachment,
14
+ ChatMessageBlocking,
15
+ ChatMessageChange,
16
+ ChatMessageChangeReader,
17
+ ChatMessageChangeTracker,
18
+ ChatMessageChangedDeferral,
19
+ ChatMessageChangedEventArgs,
20
+ ChatMessageManager,
21
+ ChatMessageNotificationTriggerDetails,
22
+ ChatMessageReader,
23
+ ChatMessageStore,
24
+ ChatMessageStoreChangedEventArgs,
25
+ ChatMessageTransport,
26
+ ChatMessageTransportConfiguration,
27
+ ChatMessageValidationResult,
28
+ ChatQueryOptions,
29
+ ChatRecipientDeliveryInfo,
30
+ ChatSearchReader,
31
+ ChatSyncConfiguration,
32
+ ChatSyncManager,
33
+ RcsEndUserMessage,
34
+ RcsEndUserMessageAction,
35
+ RcsEndUserMessageAvailableEventArgs,
36
+ RcsEndUserMessageAvailableTriggerDetails,
37
+ RcsEndUserMessageManager,
38
+ RcsManager,
39
+ RcsServiceKindSupportedChangedEventArgs,
40
+ RcsTransport,
41
+ RcsTransportConfiguration,
42
+ RemoteParticipantComposingChangedEventArgs,
43
+ _IChatItem,
44
+ IChatItem,
45
+ )
46
+
47
+ __all__ = [
48
+ "ChatConversationThreadingKind",
49
+ "ChatItemKind",
50
+ "ChatMessageChangeType",
51
+ "ChatMessageKind",
52
+ "ChatMessageOperatorKind",
53
+ "ChatMessageStatus",
54
+ "ChatMessageTransportKind",
55
+ "ChatMessageValidationStatus",
56
+ "ChatRestoreHistorySpan",
57
+ "ChatStoreChangedEventKind",
58
+ "ChatTransportErrorCodeCategory",
59
+ "ChatTransportInterpretedErrorCode",
60
+ "RcsServiceKind",
61
+ "ChatCapabilities",
62
+ "ChatCapabilitiesManager",
63
+ "ChatConversation",
64
+ "ChatConversationReader",
65
+ "ChatConversationThreadingInfo",
66
+ "ChatMessage",
67
+ "ChatMessageAttachment",
68
+ "ChatMessageBlocking",
69
+ "ChatMessageChange",
70
+ "ChatMessageChangeReader",
71
+ "ChatMessageChangeTracker",
72
+ "ChatMessageChangedDeferral",
73
+ "ChatMessageChangedEventArgs",
74
+ "ChatMessageManager",
75
+ "ChatMessageNotificationTriggerDetails",
76
+ "ChatMessageReader",
77
+ "ChatMessageStore",
78
+ "ChatMessageStoreChangedEventArgs",
79
+ "ChatMessageTransport",
80
+ "ChatMessageTransportConfiguration",
81
+ "ChatMessageValidationResult",
82
+ "ChatQueryOptions",
83
+ "ChatRecipientDeliveryInfo",
84
+ "ChatSearchReader",
85
+ "ChatSyncConfiguration",
86
+ "ChatSyncManager",
87
+ "RcsEndUserMessage",
88
+ "RcsEndUserMessageAction",
89
+ "RcsEndUserMessageAvailableEventArgs",
90
+ "RcsEndUserMessageAvailableTriggerDetails",
91
+ "RcsEndUserMessageManager",
92
+ "RcsManager",
93
+ "RcsServiceKindSupportedChangedEventArgs",
94
+ "RcsTransport",
95
+ "RcsTransportConfiguration",
96
+ "RemoteParticipantComposingChangedEventArgs",
97
+ "IChatItem",
98
+ ]
99
+
100
+ class ChatConversationThreadingKind(enum.IntEnum):
101
+ PARTICIPANTS = 0
102
+ CONTACT_ID = 1
103
+ CONVERSATION_ID = 2
104
+ CUSTOM = 3
105
+
106
+ class ChatItemKind(enum.IntEnum):
107
+ MESSAGE = 0
108
+ CONVERSATION = 1
109
+
110
+ class ChatMessageChangeType(enum.IntEnum):
111
+ MESSAGE_CREATED = 0
112
+ MESSAGE_MODIFIED = 1
113
+ MESSAGE_DELETED = 2
114
+ CHANGE_TRACKING_LOST = 3
115
+
116
+ class ChatMessageKind(enum.IntEnum):
117
+ STANDARD = 0
118
+ FILE_TRANSFER_REQUEST = 1
119
+ TRANSPORT_CUSTOM = 2
120
+ JOINED_CONVERSATION = 3
121
+ LEFT_CONVERSATION = 4
122
+ OTHER_PARTICIPANT_JOINED_CONVERSATION = 5
123
+ OTHER_PARTICIPANT_LEFT_CONVERSATION = 6
124
+
125
+ class ChatMessageOperatorKind(enum.IntEnum):
126
+ UNSPECIFIED = 0
127
+ SMS = 1
128
+ MMS = 2
129
+ RCS = 3
130
+
131
+ class ChatMessageStatus(enum.IntEnum):
132
+ DRAFT = 0
133
+ SENDING = 1
134
+ SENT = 2
135
+ SEND_RETRY_NEEDED = 3
136
+ SEND_FAILED = 4
137
+ RECEIVED = 5
138
+ RECEIVE_DOWNLOAD_NEEDED = 6
139
+ RECEIVE_DOWNLOAD_FAILED = 7
140
+ RECEIVE_DOWNLOADING = 8
141
+ DELETED = 9
142
+ DECLINED = 10
143
+ CANCELLED = 11
144
+ RECALLED = 12
145
+ RECEIVE_RETRY_NEEDED = 13
146
+
147
+ class ChatMessageTransportKind(enum.IntEnum):
148
+ TEXT = 0
149
+ UNTRIAGED = 1
150
+ BLOCKED = 2
151
+ CUSTOM = 3
152
+
153
+ class ChatMessageValidationStatus(enum.IntEnum):
154
+ VALID = 0
155
+ NO_RECIPIENTS = 1
156
+ INVALID_DATA = 2
157
+ MESSAGE_TOO_LARGE = 3
158
+ TOO_MANY_RECIPIENTS = 4
159
+ TRANSPORT_INACTIVE = 5
160
+ TRANSPORT_NOT_FOUND = 6
161
+ TOO_MANY_ATTACHMENTS = 7
162
+ INVALID_RECIPIENTS = 8
163
+ INVALID_BODY = 9
164
+ INVALID_OTHER = 10
165
+ VALID_WITH_LARGE_MESSAGE = 11
166
+ VOICE_ROAMING_RESTRICTION = 12
167
+ DATA_ROAMING_RESTRICTION = 13
168
+
169
+ class ChatRestoreHistorySpan(enum.IntEnum):
170
+ LAST_MONTH = 0
171
+ LAST_YEAR = 1
172
+ ANY_TIME = 2
173
+
174
+ class ChatStoreChangedEventKind(enum.IntEnum):
175
+ NOTIFICATIONS_MISSED = 0
176
+ STORE_MODIFIED = 1
177
+ MESSAGE_CREATED = 2
178
+ MESSAGE_MODIFIED = 3
179
+ MESSAGE_DELETED = 4
180
+ CONVERSATION_MODIFIED = 5
181
+ CONVERSATION_DELETED = 6
182
+ CONVERSATION_TRANSPORT_DELETED = 7
183
+
184
+ class ChatTransportErrorCodeCategory(enum.IntEnum):
185
+ NONE = 0
186
+ HTTP = 1
187
+ NETWORK = 2
188
+ MMS_SERVER = 3
189
+
190
+ class ChatTransportInterpretedErrorCode(enum.IntEnum):
191
+ NONE = 0
192
+ UNKNOWN = 1
193
+ INVALID_RECIPIENT_ADDRESS = 2
194
+ NETWORK_CONNECTIVITY = 3
195
+ SERVICE_DENIED = 4
196
+ TIMEOUT = 5
197
+
198
+ class RcsServiceKind(enum.IntEnum):
199
+ CHAT = 0
200
+ GROUP_CHAT = 1
201
+ FILE_TRANSFER = 2
202
+ CAPABILITY = 3
203
+
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.ApplicationModel.Chat
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.MediaProperties[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Security.Credentials[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.ApplicationModel.Chat
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Chat` namespace.
28
+
29
+ This package provides the `winrt.windows.applicationmodel.chat` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_applicationmodel_chat.cp314-win32.pyd,sha256=nSvknoNIus2W7Ir5mhqTc8A6l5Zx7_9ofmpIzrb54hk,650240
2
+ winrt/_winrt_windows_applicationmodel_chat.pyi,sha256=SnZpNOL7Zgb2bUl2dZfcYj3hqiIZyt1NRclUITWUnXk,56414
3
+ winrt/windows/applicationmodel/chat/__init__.py,sha256=ihlCMKjssVXqN7ohlujC7GqyqbkAHb3ZCFn9Y6ipHGQ,5158
4
+ winrt/windows/applicationmodel/chat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_applicationmodel_chat-3.2.1.dist-info/METADATA,sha256=RF1StRCuSgf9_3O09NrEVLGdGt6i8Lic6C0N8EnNamw,1395
6
+ winrt_windows_applicationmodel_chat-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_applicationmodel_chat-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_applicationmodel_chat-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win32
5
+