winrt-Windows.ApplicationModel.Chat 4!10.0.28000.2705__py3-none-any.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,72 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "ChatConversationThreadingKind",
10
+ "ChatItemKind",
11
+ "ChatMessageChangeType",
12
+ "ChatMessageKind",
13
+ "ChatMessageOperatorKind",
14
+ "ChatMessageStatus",
15
+ "ChatMessageTransportKind",
16
+ "ChatMessageValidationStatus",
17
+ "ChatRestoreHistorySpan",
18
+ "ChatStoreChangedEventKind",
19
+ "ChatTransportErrorCodeCategory",
20
+ "ChatTransportInterpretedErrorCode",
21
+ "RcsServiceKind",
22
+ "ChatCapabilities",
23
+ "ChatCapabilitiesManager",
24
+ "ChatConversation",
25
+ "ChatConversationReader",
26
+ "ChatConversationThreadingInfo",
27
+ "ChatMessage",
28
+ "ChatMessageAttachment",
29
+ "ChatMessageBlocking",
30
+ "ChatMessageChange",
31
+ "ChatMessageChangeReader",
32
+ "ChatMessageChangeTracker",
33
+ "ChatMessageChangedDeferral",
34
+ "ChatMessageChangedEventArgs",
35
+ "ChatMessageManager",
36
+ "ChatMessageNotificationTriggerDetails",
37
+ "ChatMessageReader",
38
+ "ChatMessageStore",
39
+ "ChatMessageStoreChangedEventArgs",
40
+ "ChatMessageTransport",
41
+ "ChatMessageTransportConfiguration",
42
+ "ChatMessageValidationResult",
43
+ "ChatQueryOptions",
44
+ "ChatRecipientDeliveryInfo",
45
+ "ChatSearchReader",
46
+ "ChatSyncConfiguration",
47
+ "ChatSyncManager",
48
+ "RcsEndUserMessage",
49
+ "RcsEndUserMessageAction",
50
+ "RcsEndUserMessageAvailableEventArgs",
51
+ "RcsEndUserMessageAvailableTriggerDetails",
52
+ "RcsEndUserMessageManager",
53
+ "RcsManager",
54
+ "RcsServiceKindSupportedChangedEventArgs",
55
+ "RcsTransport",
56
+ "RcsTransportConfiguration",
57
+ "RemoteParticipantComposingChangedEventArgs",
58
+ "IChatItem",
59
+ ]
60
+
61
+ winrt.runtime._internals.alias_static_method(ChatCapabilitiesManager, "get_cached_capabilities_for_transport_async", "get_cached_capabilities_async")
62
+ winrt.runtime._internals.alias_static_method(ChatCapabilitiesManager, "get_capabilities_from_network_for_transport_async", "get_capabilities_from_network_async")
63
+ winrt.runtime._internals.alias_method(ChatConversation, "mark_all_messages_as_read_async", "mark_messages_as_read_async")
64
+ winrt.runtime._internals.alias_method(ChatConversationReader, "read_batch_with_count_async", "read_batch_async")
65
+ winrt.runtime._internals.alias_method(ChatMessageReader, "read_batch_with_count_async", "read_batch_async")
66
+ winrt.runtime._internals.alias_method(ChatMessageStore, "get_conversation_for_transports_async", "get_conversation_async")
67
+ winrt.runtime._internals.alias_method(ChatMessageStore, "get_conversation_for_transports_reader", "get_conversation_reader")
68
+ winrt.runtime._internals.alias_method(ChatMessageStore, "get_message_reader1", "get_message_reader")
69
+ winrt.runtime._internals.alias_method(ChatMessageStore, "get_message_reader2", "get_message_reader")
70
+ winrt.runtime._internals.alias_method(ChatMessageStore, "get_unseen_count_for_transports_reader_async", "get_unseen_count_async")
71
+ winrt.runtime._internals.alias_method(ChatMessageStore, "mark_as_seen_for_transports_async", "mark_as_seen_async")
72
+ winrt.runtime._internals.alias_method(ChatSearchReader, "read_batch_with_count_async", "read_batch_async")
@@ -0,0 +1,1076 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import datetime
5
+ import enum
6
+ import typing
7
+ from builtins import property as _property
8
+ from abc import abstractmethod
9
+ from typing_extensions import deprecated
10
+
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.media.mediaproperties as windows_media_mediaproperties
15
+ import winrt.windows.security.credentials as windows_security_credentials
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+
18
+ __all__ = [
19
+ "ChatConversationThreadingKind",
20
+ "ChatItemKind",
21
+ "ChatMessageChangeType",
22
+ "ChatMessageKind",
23
+ "ChatMessageOperatorKind",
24
+ "ChatMessageStatus",
25
+ "ChatMessageTransportKind",
26
+ "ChatMessageValidationStatus",
27
+ "ChatRestoreHistorySpan",
28
+ "ChatStoreChangedEventKind",
29
+ "ChatTransportErrorCodeCategory",
30
+ "ChatTransportInterpretedErrorCode",
31
+ "RcsServiceKind",
32
+ "ChatCapabilities",
33
+ "ChatCapabilitiesManager",
34
+ "ChatConversation",
35
+ "ChatConversationReader",
36
+ "ChatConversationThreadingInfo",
37
+ "ChatMessage",
38
+ "ChatMessageAttachment",
39
+ "ChatMessageBlocking",
40
+ "ChatMessageChange",
41
+ "ChatMessageChangeReader",
42
+ "ChatMessageChangeTracker",
43
+ "ChatMessageChangedDeferral",
44
+ "ChatMessageChangedEventArgs",
45
+ "ChatMessageManager",
46
+ "ChatMessageNotificationTriggerDetails",
47
+ "ChatMessageReader",
48
+ "ChatMessageStore",
49
+ "ChatMessageStoreChangedEventArgs",
50
+ "ChatMessageTransport",
51
+ "ChatMessageTransportConfiguration",
52
+ "ChatMessageValidationResult",
53
+ "ChatQueryOptions",
54
+ "ChatRecipientDeliveryInfo",
55
+ "ChatSearchReader",
56
+ "ChatSyncConfiguration",
57
+ "ChatSyncManager",
58
+ "RcsEndUserMessage",
59
+ "RcsEndUserMessageAction",
60
+ "RcsEndUserMessageAvailableEventArgs",
61
+ "RcsEndUserMessageAvailableTriggerDetails",
62
+ "RcsEndUserMessageManager",
63
+ "RcsManager",
64
+ "RcsServiceKindSupportedChangedEventArgs",
65
+ "RcsTransport",
66
+ "RcsTransportConfiguration",
67
+ "RemoteParticipantComposingChangedEventArgs",
68
+ "IChatItem",
69
+ ]
70
+
71
+ class ChatConversationThreadingKind(enum.IntEnum):
72
+ PARTICIPANTS = 0
73
+ CONTACT_ID = 1
74
+ CONVERSATION_ID = 2
75
+ CUSTOM = 3
76
+
77
+ class ChatItemKind(enum.IntEnum):
78
+ MESSAGE = 0
79
+ CONVERSATION = 1
80
+
81
+ class ChatMessageChangeType(enum.IntEnum):
82
+ MESSAGE_CREATED = 0
83
+ MESSAGE_MODIFIED = 1
84
+ MESSAGE_DELETED = 2
85
+ CHANGE_TRACKING_LOST = 3
86
+
87
+ class ChatMessageKind(enum.IntEnum):
88
+ STANDARD = 0
89
+ FILE_TRANSFER_REQUEST = 1
90
+ TRANSPORT_CUSTOM = 2
91
+ JOINED_CONVERSATION = 3
92
+ LEFT_CONVERSATION = 4
93
+ OTHER_PARTICIPANT_JOINED_CONVERSATION = 5
94
+ OTHER_PARTICIPANT_LEFT_CONVERSATION = 6
95
+
96
+ class ChatMessageOperatorKind(enum.IntEnum):
97
+ UNSPECIFIED = 0
98
+ SMS = 1
99
+ MMS = 2
100
+ RCS = 3
101
+
102
+ class ChatMessageStatus(enum.IntEnum):
103
+ DRAFT = 0
104
+ SENDING = 1
105
+ SENT = 2
106
+ SEND_RETRY_NEEDED = 3
107
+ SEND_FAILED = 4
108
+ RECEIVED = 5
109
+ RECEIVE_DOWNLOAD_NEEDED = 6
110
+ RECEIVE_DOWNLOAD_FAILED = 7
111
+ RECEIVE_DOWNLOADING = 8
112
+ DELETED = 9
113
+ DECLINED = 10
114
+ CANCELLED = 11
115
+ RECALLED = 12
116
+ RECEIVE_RETRY_NEEDED = 13
117
+
118
+ class ChatMessageTransportKind(enum.IntEnum):
119
+ TEXT = 0
120
+ UNTRIAGED = 1
121
+ BLOCKED = 2
122
+ CUSTOM = 3
123
+
124
+ class ChatMessageValidationStatus(enum.IntEnum):
125
+ VALID = 0
126
+ NO_RECIPIENTS = 1
127
+ INVALID_DATA = 2
128
+ MESSAGE_TOO_LARGE = 3
129
+ TOO_MANY_RECIPIENTS = 4
130
+ TRANSPORT_INACTIVE = 5
131
+ TRANSPORT_NOT_FOUND = 6
132
+ TOO_MANY_ATTACHMENTS = 7
133
+ INVALID_RECIPIENTS = 8
134
+ INVALID_BODY = 9
135
+ INVALID_OTHER = 10
136
+ VALID_WITH_LARGE_MESSAGE = 11
137
+ VOICE_ROAMING_RESTRICTION = 12
138
+ DATA_ROAMING_RESTRICTION = 13
139
+
140
+ class ChatRestoreHistorySpan(enum.IntEnum):
141
+ LAST_MONTH = 0
142
+ LAST_YEAR = 1
143
+ ANY_TIME = 2
144
+
145
+ class ChatStoreChangedEventKind(enum.IntEnum):
146
+ NOTIFICATIONS_MISSED = 0
147
+ STORE_MODIFIED = 1
148
+ MESSAGE_CREATED = 2
149
+ MESSAGE_MODIFIED = 3
150
+ MESSAGE_DELETED = 4
151
+ CONVERSATION_MODIFIED = 5
152
+ CONVERSATION_DELETED = 6
153
+ CONVERSATION_TRANSPORT_DELETED = 7
154
+
155
+ class ChatTransportErrorCodeCategory(enum.IntEnum):
156
+ NONE = 0
157
+ HTTP = 1
158
+ NETWORK = 2
159
+ MMS_SERVER = 3
160
+
161
+ class ChatTransportInterpretedErrorCode(enum.IntEnum):
162
+ NONE = 0
163
+ UNKNOWN = 1
164
+ INVALID_RECIPIENT_ADDRESS = 2
165
+ NETWORK_CONNECTIVITY = 3
166
+ SERVICE_DENIED = 4
167
+ TIMEOUT = 5
168
+
169
+ class RcsServiceKind(enum.IntEnum):
170
+ CHAT = 0
171
+ GROUP_CHAT = 1
172
+ FILE_TRANSFER = 2
173
+ CAPABILITY = 3
174
+
175
+ @typing.final
176
+ class ChatCapabilities(winrt.system.Object):
177
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
178
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
179
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsChatCapable()
180
+ @_property
181
+ def is_chat_capable(self) -> bool: ...
182
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsFileTransferCapable()
183
+ @_property
184
+ def is_file_transfer_capable(self) -> bool: ...
185
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsGeoLocationPushCapable()
186
+ @_property
187
+ def is_geo_location_push_capable(self) -> bool: ...
188
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsIntegratedMessagingCapable()
189
+ @_property
190
+ def is_integrated_messaging_capable(self) -> bool: ...
191
+ # System.Boolean Windows.ApplicationModel.Chat.ChatCapabilities::get_IsOnline()
192
+ @_property
193
+ def is_online(self) -> bool: ...
194
+
195
+ @typing.final
196
+ class ChatCapabilitiesManager_Static(winrt.system.Object_Static):
197
+ @typing.overload
198
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCachedCapabilitiesAsync(System.String)
199
+ def get_cached_capabilities_async(cls, address: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
200
+ @typing.overload
201
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCachedCapabilitiesAsync(System.String,System.String)
202
+ def get_cached_capabilities_async(cls, address: str, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
203
+ # Deprecated alias of get_cached_capabilities_async() for pywinrt v3.x compatibility.
204
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCachedCapabilitiesAsync(System.String,System.String)
205
+ @deprecated("Use get_cached_capabilities_async() instead.")
206
+ def get_cached_capabilities_for_transport_async(cls, address: str, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
207
+ @typing.overload
208
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCapabilitiesFromNetworkAsync(System.String)
209
+ def get_capabilities_from_network_async(cls, address: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
210
+ @typing.overload
211
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCapabilitiesFromNetworkAsync(System.String,System.String)
212
+ def get_capabilities_from_network_async(cls, address: str, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
213
+ # Deprecated alias of get_capabilities_from_network_async() for pywinrt v3.x compatibility.
214
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatCapabilities> Windows.ApplicationModel.Chat.ChatCapabilitiesManager::GetCapabilitiesFromNetworkAsync(System.String,System.String)
215
+ @deprecated("Use get_capabilities_from_network_async() instead.")
216
+ def get_capabilities_from_network_for_transport_async(cls, address: str, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatCapabilities]: ...
217
+
218
+ @typing.final
219
+ class ChatCapabilitiesManager(winrt.system.Object, metaclass=ChatCapabilitiesManager_Static):
220
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
221
+ """A class of static members only, so there is nothing to create."""
222
+
223
+ @typing.final
224
+ class ChatConversation(IChatItem, winrt.system.Object):
225
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
226
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
227
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::DeleteAsync()
228
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
229
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatConversation::GetMessageReader()
230
+ def get_message_reader(self) -> ChatMessageReader: ...
231
+ @typing.overload
232
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::MarkMessagesAsReadAsync()
233
+ def mark_messages_as_read_async(self) -> windows_foundation.IAsyncAction: ...
234
+ @typing.overload
235
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::MarkMessagesAsReadAsync(Windows.Foundation.DateTime)
236
+ def mark_messages_as_read_async(self, value: datetime.datetime, /) -> windows_foundation.IAsyncAction: ...
237
+ # Deprecated alias of mark_messages_as_read_async() for pywinrt v3.x compatibility.
238
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::MarkMessagesAsReadAsync()
239
+ @deprecated("Use mark_messages_as_read_async() instead.")
240
+ def mark_all_messages_as_read_async(self) -> windows_foundation.IAsyncAction: ...
241
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::NotifyLocalParticipantComposing(System.String,System.String,System.Boolean)
242
+ def notify_local_participant_composing(self, transport_id: str, participant_address: str, is_composing: bool, /) -> None: ...
243
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::NotifyRemoteParticipantComposing(System.String,System.String,System.Boolean)
244
+ def notify_remote_participant_composing(self, transport_id: str, participant_address: str, is_composing: bool, /) -> None: ...
245
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatConversation::SaveAsync()
246
+ def save_async(self) -> windows_foundation.IAsyncAction: ...
247
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.ChatConversation::add_RemoteParticipantComposingChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.ChatConversation,Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs>)
248
+ def add_remote_participant_composing_changed(self, handler: windows_foundation.TypedEventHandler[ChatConversation, RemoteParticipantComposingChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
249
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::remove_RemoteParticipantComposingChanged(Windows.Foundation.EventRegistrationToken)
250
+ def remove_remote_participant_composing_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
251
+ # System.String Windows.ApplicationModel.Chat.ChatConversation::get_Subject()
252
+ @_property
253
+ def subject(self) -> str: ...
254
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::put_Subject(System.String)
255
+ @subject.setter
256
+ def subject(self, value: str) -> None: ...
257
+ # System.Boolean Windows.ApplicationModel.Chat.ChatConversation::get_IsConversationMuted()
258
+ @_property
259
+ def is_conversation_muted(self) -> bool: ...
260
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::put_IsConversationMuted(System.Boolean)
261
+ @is_conversation_muted.setter
262
+ def is_conversation_muted(self, value: bool) -> None: ...
263
+ # System.Boolean Windows.ApplicationModel.Chat.ChatConversation::get_HasUnreadMessages()
264
+ @_property
265
+ def has_unread_messages(self) -> bool: ...
266
+ # System.String Windows.ApplicationModel.Chat.ChatConversation::get_Id()
267
+ @_property
268
+ def id(self) -> str: ...
269
+ # System.String Windows.ApplicationModel.Chat.ChatConversation::get_MostRecentMessageId()
270
+ @_property
271
+ def most_recent_message_id(self) -> str: ...
272
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Chat.ChatConversation::get_Participants()
273
+ @_property
274
+ def participants(self) -> _cabc.MutableSequence[str]: ...
275
+ # Windows.ApplicationModel.Chat.ChatConversationThreadingInfo Windows.ApplicationModel.Chat.ChatConversation::get_ThreadingInfo()
276
+ @_property
277
+ def threading_info(self) -> ChatConversationThreadingInfo: ...
278
+ # System.Boolean Windows.ApplicationModel.Chat.ChatConversation::get_CanModifyParticipants()
279
+ @_property
280
+ def can_modify_participants(self) -> bool: ...
281
+ # System.Void Windows.ApplicationModel.Chat.ChatConversation::put_CanModifyParticipants(System.Boolean)
282
+ @can_modify_participants.setter
283
+ def can_modify_participants(self, value: bool) -> None: ...
284
+ # Windows.ApplicationModel.Chat.ChatItemKind Windows.ApplicationModel.Chat.ChatConversation::get_ItemKind()
285
+ @_property
286
+ def item_kind(self) -> ChatItemKind: ...
287
+
288
+ @typing.final
289
+ class ChatConversationReader(winrt.system.Object):
290
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
291
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
292
+ @typing.overload
293
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatConversation>> Windows.ApplicationModel.Chat.ChatConversationReader::ReadBatchAsync()
294
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatConversation]]: ...
295
+ @typing.overload
296
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatConversation>> Windows.ApplicationModel.Chat.ChatConversationReader::ReadBatchAsync(System.Int32)
297
+ def read_batch_async(self, count: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatConversation]]: ...
298
+ # Deprecated alias of read_batch_async() for pywinrt v3.x compatibility.
299
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatConversation>> Windows.ApplicationModel.Chat.ChatConversationReader::ReadBatchAsync(System.Int32)
300
+ @deprecated("Use read_batch_async() instead.")
301
+ def read_batch_with_count_async(self, count: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatConversation]]: ...
302
+
303
+ @typing.final
304
+ class ChatConversationThreadingInfo(winrt.system.Object):
305
+ def __new__(cls) -> typing.Self: ...
306
+ # Windows.ApplicationModel.Chat.ChatConversationThreadingKind Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_Kind()
307
+ @_property
308
+ def kind(self) -> ChatConversationThreadingKind: ...
309
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_Kind(Windows.ApplicationModel.Chat.ChatConversationThreadingKind)
310
+ @kind.setter
311
+ def kind(self, value: ChatConversationThreadingKind) -> None: ...
312
+ # System.String Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_Custom()
313
+ @_property
314
+ def custom(self) -> str: ...
315
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_Custom(System.String)
316
+ @custom.setter
317
+ def custom(self, value: str) -> None: ...
318
+ # System.String Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_ConversationId()
319
+ @_property
320
+ def conversation_id(self) -> str: ...
321
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_ConversationId(System.String)
322
+ @conversation_id.setter
323
+ def conversation_id(self, value: str) -> None: ...
324
+ # System.String Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_ContactId()
325
+ @_property
326
+ def contact_id(self) -> str: ...
327
+ # System.Void Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::put_ContactId(System.String)
328
+ @contact_id.setter
329
+ def contact_id(self, value: str) -> None: ...
330
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Chat.ChatConversationThreadingInfo::get_Participants()
331
+ @_property
332
+ def participants(self) -> _cabc.MutableSequence[str]: ...
333
+
334
+ @typing.final
335
+ class ChatMessage(IChatItem, winrt.system.Object):
336
+ def __new__(cls) -> typing.Self: ...
337
+ # Windows.ApplicationModel.Chat.ChatItemKind Windows.ApplicationModel.Chat.ChatMessage::get_ItemKind()
338
+ @_property
339
+ def item_kind(self) -> ChatItemKind: ...
340
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsIncoming()
341
+ @_property
342
+ def is_incoming(self) -> bool: ...
343
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsIncoming(System.Boolean)
344
+ @is_incoming.setter
345
+ def is_incoming(self, value: bool) -> None: ...
346
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsForwardingDisabled()
347
+ @_property
348
+ def is_forwarding_disabled(self) -> bool: ...
349
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsForwardingDisabled(System.Boolean)
350
+ @is_forwarding_disabled.setter
351
+ def is_forwarding_disabled(self, value: bool) -> None: ...
352
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_TransportId()
353
+ @_property
354
+ def transport_id(self) -> str: ...
355
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_TransportId(System.String)
356
+ @transport_id.setter
357
+ def transport_id(self, value: str) -> None: ...
358
+ # Windows.ApplicationModel.Chat.ChatMessageStatus Windows.ApplicationModel.Chat.ChatMessage::get_Status()
359
+ @_property
360
+ def status(self) -> ChatMessageStatus: ...
361
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_Status(Windows.ApplicationModel.Chat.ChatMessageStatus)
362
+ @status.setter
363
+ def status(self, value: ChatMessageStatus) -> None: ...
364
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_From()
365
+ @_property
366
+ def from_(self) -> str: ...
367
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_From(System.String)
368
+ @from_.setter
369
+ def from_(self, value: str) -> None: ...
370
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_Body()
371
+ @_property
372
+ def body(self) -> str: ...
373
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_Body(System.String)
374
+ @body.setter
375
+ def body(self, value: str) -> None: ...
376
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_Subject()
377
+ @_property
378
+ def subject(self) -> str: ...
379
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_Subject(System.String)
380
+ @subject.setter
381
+ def subject(self, value: str) -> None: ...
382
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsRead()
383
+ @_property
384
+ def is_read(self) -> bool: ...
385
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsRead(System.Boolean)
386
+ @is_read.setter
387
+ def is_read(self, value: bool) -> None: ...
388
+ # Windows.Foundation.DateTime Windows.ApplicationModel.Chat.ChatMessage::get_NetworkTimestamp()
389
+ @_property
390
+ def network_timestamp(self) -> datetime.datetime: ...
391
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_NetworkTimestamp(Windows.Foundation.DateTime)
392
+ @network_timestamp.setter
393
+ def network_timestamp(self, value: datetime.datetime) -> None: ...
394
+ # Windows.Foundation.DateTime Windows.ApplicationModel.Chat.ChatMessage::get_LocalTimestamp()
395
+ @_property
396
+ def local_timestamp(self) -> datetime.datetime: ...
397
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_LocalTimestamp(Windows.Foundation.DateTime)
398
+ @local_timestamp.setter
399
+ def local_timestamp(self, value: datetime.datetime) -> None: ...
400
+ # Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Chat.ChatMessageStatus> Windows.ApplicationModel.Chat.ChatMessage::get_RecipientSendStatuses()
401
+ @_property
402
+ def recipient_send_statuses(self) -> _cabc.Mapping[str, ChatMessageStatus]: ...
403
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Chat.ChatMessage::get_Recipients()
404
+ @_property
405
+ def recipients(self) -> _cabc.MutableSequence[str]: ...
406
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_TransportFriendlyName()
407
+ @_property
408
+ def transport_friendly_name(self) -> str: ...
409
+ # Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Chat.ChatMessageAttachment> Windows.ApplicationModel.Chat.ChatMessage::get_Attachments()
410
+ @_property
411
+ def attachments(self) -> _cabc.MutableSequence[ChatMessageAttachment]: ...
412
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_Id()
413
+ @_property
414
+ def id(self) -> str: ...
415
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsSeen()
416
+ @_property
417
+ def is_seen(self) -> bool: ...
418
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsSeen(System.Boolean)
419
+ @is_seen.setter
420
+ def is_seen(self, value: bool) -> None: ...
421
+ # Windows.ApplicationModel.Chat.ChatMessageKind Windows.ApplicationModel.Chat.ChatMessage::get_MessageKind()
422
+ @_property
423
+ def message_kind(self) -> ChatMessageKind: ...
424
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_MessageKind(Windows.ApplicationModel.Chat.ChatMessageKind)
425
+ @message_kind.setter
426
+ def message_kind(self, value: ChatMessageKind) -> None: ...
427
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsReceivedDuringQuietHours()
428
+ @_property
429
+ def is_received_during_quiet_hours(self) -> bool: ...
430
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsReceivedDuringQuietHours(System.Boolean)
431
+ @is_received_during_quiet_hours.setter
432
+ def is_received_during_quiet_hours(self, value: bool) -> None: ...
433
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsAutoReply()
434
+ @_property
435
+ def is_auto_reply(self) -> bool: ...
436
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_IsAutoReply(System.Boolean)
437
+ @is_auto_reply.setter
438
+ def is_auto_reply(self, value: bool) -> None: ...
439
+ # System.UInt64 Windows.ApplicationModel.Chat.ChatMessage::get_EstimatedDownloadSize()
440
+ @_property
441
+ def estimated_download_size(self) -> winrt.system.UInt64: ...
442
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_EstimatedDownloadSize(System.UInt64)
443
+ @estimated_download_size.setter
444
+ def estimated_download_size(self, value: winrt.system.UInt64 | typing.SupportsIndex) -> None: ...
445
+ # Windows.ApplicationModel.Chat.ChatConversationThreadingInfo Windows.ApplicationModel.Chat.ChatMessage::get_ThreadingInfo()
446
+ @_property
447
+ def threading_info(self) -> ChatConversationThreadingInfo: ...
448
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_ThreadingInfo(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo)
449
+ @threading_info.setter
450
+ def threading_info(self, value: ChatConversationThreadingInfo) -> None: ...
451
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_ShouldSuppressNotification()
452
+ @_property
453
+ def should_suppress_notification(self) -> bool: ...
454
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_ShouldSuppressNotification(System.Boolean)
455
+ @should_suppress_notification.setter
456
+ def should_suppress_notification(self, value: bool) -> None: ...
457
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_RemoteId()
458
+ @_property
459
+ def remote_id(self) -> str: ...
460
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_RemoteId(System.String)
461
+ @remote_id.setter
462
+ def remote_id(self, value: str) -> None: ...
463
+ # Windows.ApplicationModel.Chat.ChatMessageOperatorKind Windows.ApplicationModel.Chat.ChatMessage::get_MessageOperatorKind()
464
+ @_property
465
+ def message_operator_kind(self) -> ChatMessageOperatorKind: ...
466
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_MessageOperatorKind(Windows.ApplicationModel.Chat.ChatMessageOperatorKind)
467
+ @message_operator_kind.setter
468
+ def message_operator_kind(self, value: ChatMessageOperatorKind) -> None: ...
469
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsReplyDisabled()
470
+ @_property
471
+ def is_reply_disabled(self) -> bool: ...
472
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessage::get_IsSimMessage()
473
+ @_property
474
+ def is_sim_message(self) -> bool: ...
475
+ # Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo> Windows.ApplicationModel.Chat.ChatMessage::get_RecipientsDeliveryInfos()
476
+ @_property
477
+ def recipients_delivery_infos(self) -> _cabc.MutableSequence[ChatRecipientDeliveryInfo]: ...
478
+ # System.String Windows.ApplicationModel.Chat.ChatMessage::get_SyncId()
479
+ @_property
480
+ def sync_id(self) -> str: ...
481
+ # System.Void Windows.ApplicationModel.Chat.ChatMessage::put_SyncId(System.String)
482
+ @sync_id.setter
483
+ def sync_id(self, value: str) -> None: ...
484
+
485
+ @typing.final
486
+ class ChatMessageAttachment(winrt.system.Object):
487
+ def __new__(cls, mime_type: str, data_stream_reference: windows_storage_streams.IRandomAccessStreamReference, /) -> typing.Self: ...
488
+ # System.String Windows.ApplicationModel.Chat.ChatMessageAttachment::get_Text()
489
+ @_property
490
+ def text(self) -> str: ...
491
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_Text(System.String)
492
+ @text.setter
493
+ def text(self, value: str) -> None: ...
494
+ # System.String Windows.ApplicationModel.Chat.ChatMessageAttachment::get_MimeType()
495
+ @_property
496
+ def mime_type(self) -> str: ...
497
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_MimeType(System.String)
498
+ @mime_type.setter
499
+ def mime_type(self, value: str) -> None: ...
500
+ # System.UInt32 Windows.ApplicationModel.Chat.ChatMessageAttachment::get_GroupId()
501
+ @_property
502
+ def group_id(self) -> winrt.system.UInt32: ...
503
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_GroupId(System.UInt32)
504
+ @group_id.setter
505
+ def group_id(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
506
+ # Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Chat.ChatMessageAttachment::get_DataStreamReference()
507
+ @_property
508
+ def data_stream_reference(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
509
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_DataStreamReference(Windows.Storage.Streams.IRandomAccessStreamReference)
510
+ @data_stream_reference.setter
511
+ def data_stream_reference(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
512
+ # System.Double Windows.ApplicationModel.Chat.ChatMessageAttachment::get_TransferProgress()
513
+ @_property
514
+ def transfer_progress(self) -> winrt.system.Double: ...
515
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_TransferProgress(System.Double)
516
+ @transfer_progress.setter
517
+ def transfer_progress(self, value: winrt.system.Double) -> None: ...
518
+ # Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Chat.ChatMessageAttachment::get_Thumbnail()
519
+ @_property
520
+ def thumbnail(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
521
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_Thumbnail(Windows.Storage.Streams.IRandomAccessStreamReference)
522
+ @thumbnail.setter
523
+ def thumbnail(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
524
+ # System.String Windows.ApplicationModel.Chat.ChatMessageAttachment::get_OriginalFileName()
525
+ @_property
526
+ def original_file_name(self) -> str: ...
527
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageAttachment::put_OriginalFileName(System.String)
528
+ @original_file_name.setter
529
+ def original_file_name(self, value: str) -> None: ...
530
+
531
+ @typing.final
532
+ class ChatMessageBlocking_Static(winrt.system.Object_Static):
533
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageBlocking::MarkMessageAsBlockedAsync(System.String,System.Boolean)
534
+ def mark_message_as_blocked_async(cls, local_chat_message_id: str, blocked: bool, /) -> windows_foundation.IAsyncAction: ...
535
+
536
+ @typing.final
537
+ class ChatMessageBlocking(winrt.system.Object, metaclass=ChatMessageBlocking_Static):
538
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
539
+ """A class of static members only, so there is nothing to create."""
540
+
541
+ @typing.final
542
+ class ChatMessageChange(winrt.system.Object):
543
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
544
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
545
+ # Windows.ApplicationModel.Chat.ChatMessageChangeType Windows.ApplicationModel.Chat.ChatMessageChange::get_ChangeType()
546
+ @_property
547
+ def change_type(self) -> ChatMessageChangeType: ...
548
+ # Windows.ApplicationModel.Chat.ChatMessage Windows.ApplicationModel.Chat.ChatMessageChange::get_Message()
549
+ @_property
550
+ def message(self) -> ChatMessage: ...
551
+
552
+ @typing.final
553
+ class ChatMessageChangeReader(winrt.system.Object):
554
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
555
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
556
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeReader::AcceptChanges()
557
+ def accept_changes(self) -> None: ...
558
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeReader::AcceptChangesThrough(Windows.ApplicationModel.Chat.ChatMessageChange)
559
+ def accept_changes_through(self, last_change_to_acknowledge: ChatMessageChange, /) -> None: ...
560
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessageChange>> Windows.ApplicationModel.Chat.ChatMessageChangeReader::ReadBatchAsync()
561
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatMessageChange]]: ...
562
+
563
+ @typing.final
564
+ class ChatMessageChangeTracker(winrt.system.Object):
565
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
566
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
567
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeTracker::Enable()
568
+ def enable(self) -> None: ...
569
+ # Windows.ApplicationModel.Chat.ChatMessageChangeReader Windows.ApplicationModel.Chat.ChatMessageChangeTracker::GetChangeReader()
570
+ def get_change_reader(self) -> ChatMessageChangeReader: ...
571
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangeTracker::Reset()
572
+ def reset(self) -> None: ...
573
+
574
+ @typing.final
575
+ class ChatMessageChangedDeferral(winrt.system.Object):
576
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
577
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
578
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageChangedDeferral::Complete()
579
+ def complete(self) -> None: ...
580
+
581
+ @typing.final
582
+ class ChatMessageChangedEventArgs(winrt.system.Object):
583
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
584
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
585
+ # Windows.ApplicationModel.Chat.ChatMessageChangedDeferral Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs::GetDeferral()
586
+ def get_deferral(self) -> ChatMessageChangedDeferral: ...
587
+
588
+ @typing.final
589
+ class ChatMessageManager_Static(winrt.system.Object_Static):
590
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessageTransport> Windows.ApplicationModel.Chat.ChatMessageManager::GetTransportAsync(System.String)
591
+ def get_transport_async(cls, transport_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessageTransport]: ...
592
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessageTransport>> Windows.ApplicationModel.Chat.ChatMessageManager::GetTransportsAsync()
593
+ def get_transports_async(cls) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatMessageTransport]]: ...
594
+ # Windows.Foundation.IAsyncOperation`1<System.String> Windows.ApplicationModel.Chat.ChatMessageManager::RegisterTransportAsync()
595
+ def register_transport_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
596
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessageStore> Windows.ApplicationModel.Chat.ChatMessageManager::RequestStoreAsync()
597
+ def request_store_async(cls) -> windows_foundation.IAsyncOperation[ChatMessageStore]: ...
598
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatSyncManager> Windows.ApplicationModel.Chat.ChatMessageManager::RequestSyncManagerAsync()
599
+ def request_sync_manager_async(cls) -> windows_foundation.IAsyncOperation[ChatSyncManager]: ...
600
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageManager::ShowComposeSmsMessageAsync(Windows.ApplicationModel.Chat.ChatMessage)
601
+ def show_compose_sms_message_async(cls, message: ChatMessage, /) -> windows_foundation.IAsyncAction: ...
602
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageManager::ShowSmsSettings()
603
+ def show_sms_settings(cls) -> None: ...
604
+
605
+ @typing.final
606
+ class ChatMessageManager(winrt.system.Object, metaclass=ChatMessageManager_Static):
607
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
608
+ """A class of static members only, so there is nothing to create."""
609
+
610
+ @typing.final
611
+ class ChatMessageNotificationTriggerDetails(winrt.system.Object):
612
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
613
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
614
+ # Windows.ApplicationModel.Chat.ChatMessage Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ChatMessage()
615
+ @_property
616
+ def chat_message(self) -> ChatMessage: ...
617
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldDisplayToast()
618
+ @_property
619
+ def should_display_toast(self) -> bool: ...
620
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldUpdateActionCenter()
621
+ @_property
622
+ def should_update_action_center(self) -> bool: ...
623
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldUpdateBadge()
624
+ @_property
625
+ def should_update_badge(self) -> bool: ...
626
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageNotificationTriggerDetails::get_ShouldUpdateDetailText()
627
+ @_property
628
+ def should_update_detail_text(self) -> bool: ...
629
+
630
+ @typing.final
631
+ class ChatMessageReader(winrt.system.Object):
632
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
633
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
634
+ @typing.overload
635
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessage>> Windows.ApplicationModel.Chat.ChatMessageReader::ReadBatchAsync()
636
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatMessage]]: ...
637
+ @typing.overload
638
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessage>> Windows.ApplicationModel.Chat.ChatMessageReader::ReadBatchAsync(System.Int32)
639
+ def read_batch_async(self, count: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatMessage]]: ...
640
+ # Deprecated alias of read_batch_async() for pywinrt v3.x compatibility.
641
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.ChatMessage>> Windows.ApplicationModel.Chat.ChatMessageReader::ReadBatchAsync(System.Int32)
642
+ @deprecated("Use read_batch_async() instead.")
643
+ def read_batch_with_count_async(self, count: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[ChatMessage]]: ...
644
+
645
+ @typing.final
646
+ class ChatMessageStore(winrt.system.Object):
647
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
648
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
649
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::DeleteMessageAsync(System.String)
650
+ def delete_message_async(self, local_message_id: str, /) -> windows_foundation.IAsyncAction: ...
651
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::DownloadMessageAsync(System.String)
652
+ def download_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncAction: ...
653
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::ForwardMessageAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
654
+ def forward_message_async(self, local_chat_message_id: str, addresses: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
655
+ @typing.overload
656
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationAsync(System.String)
657
+ def get_conversation_async(self, conversation_id: str, /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
658
+ @typing.overload
659
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
660
+ def get_conversation_async(self, conversation_id: str, transport_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
661
+ # Deprecated alias of get_conversation_async() for pywinrt v3.x compatibility.
662
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
663
+ @deprecated("Use get_conversation_async() instead.")
664
+ def get_conversation_for_transports_async(self, conversation_id: str, transport_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
665
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatConversation> Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationFromThreadingInfoAsync(Windows.ApplicationModel.Chat.ChatConversationThreadingInfo)
666
+ def get_conversation_from_threading_info_async(self, threading_info: ChatConversationThreadingInfo, /) -> windows_foundation.IAsyncOperation[ChatConversation]: ...
667
+ @typing.overload
668
+ # Windows.ApplicationModel.Chat.ChatConversationReader Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationReader()
669
+ def get_conversation_reader(self) -> ChatConversationReader: ...
670
+ @typing.overload
671
+ # Windows.ApplicationModel.Chat.ChatConversationReader Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationReader(Windows.Foundation.Collections.IIterable`1<System.String>)
672
+ def get_conversation_reader(self, transport_ids: _cabc.Iterable[str], /) -> ChatConversationReader: ...
673
+ # Deprecated alias of get_conversation_reader() for pywinrt v3.x compatibility.
674
+ # Windows.ApplicationModel.Chat.ChatConversationReader Windows.ApplicationModel.Chat.ChatMessageStore::GetConversationReader(Windows.Foundation.Collections.IIterable`1<System.String>)
675
+ @deprecated("Use get_conversation_reader() instead.")
676
+ def get_conversation_for_transports_reader(self, transport_ids: _cabc.Iterable[str], /) -> ChatConversationReader: ...
677
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageAsync(System.String)
678
+ def get_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
679
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageByRemoteIdAsync(System.String,System.String)
680
+ def get_message_by_remote_id_async(self, transport_id: str, remote_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
681
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.ChatMessage> Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageBySyncIdAsync(System.String)
682
+ def get_message_by_sync_id_async(self, sync_id: str, /) -> windows_foundation.IAsyncOperation[ChatMessage]: ...
683
+ @typing.overload
684
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageReader()
685
+ def get_message_reader(self) -> ChatMessageReader: ...
686
+ @typing.overload
687
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageReader(Windows.Foundation.TimeSpan)
688
+ def get_message_reader(self, recent_time_limit: datetime.timedelta, /) -> ChatMessageReader: ...
689
+ # Deprecated alias of get_message_reader() for pywinrt v3.x compatibility.
690
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageReader()
691
+ @deprecated("Use get_message_reader() instead.")
692
+ def get_message_reader1(self) -> ChatMessageReader: ...
693
+ # Deprecated alias of get_message_reader() for pywinrt v3.x compatibility.
694
+ # Windows.ApplicationModel.Chat.ChatMessageReader Windows.ApplicationModel.Chat.ChatMessageStore::GetMessageReader(Windows.Foundation.TimeSpan)
695
+ @deprecated("Use get_message_reader() instead.")
696
+ def get_message_reader2(self, recent_time_limit: datetime.timedelta, /) -> ChatMessageReader: ...
697
+ # Windows.ApplicationModel.Chat.ChatSearchReader Windows.ApplicationModel.Chat.ChatMessageStore::GetSearchReader(Windows.ApplicationModel.Chat.ChatQueryOptions)
698
+ def get_search_reader(self, value: ChatQueryOptions, /) -> ChatSearchReader: ...
699
+ @typing.overload
700
+ # Windows.Foundation.IAsyncOperation`1<System.Int32> Windows.ApplicationModel.Chat.ChatMessageStore::GetUnseenCountAsync()
701
+ def get_unseen_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.Int32]: ...
702
+ @typing.overload
703
+ # Windows.Foundation.IAsyncOperation`1<System.Int32> Windows.ApplicationModel.Chat.ChatMessageStore::GetUnseenCountAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
704
+ def get_unseen_count_async(self, transport_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[winrt.system.Int32]: ...
705
+ # Deprecated alias of get_unseen_count_async() for pywinrt v3.x compatibility.
706
+ # Windows.Foundation.IAsyncOperation`1<System.Int32> Windows.ApplicationModel.Chat.ChatMessageStore::GetUnseenCountAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
707
+ @deprecated("Use get_unseen_count_async() instead.")
708
+ def get_unseen_count_for_transports_reader_async(self, transport_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[winrt.system.Int32]: ...
709
+ @typing.overload
710
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkAsSeenAsync()
711
+ def mark_as_seen_async(self) -> windows_foundation.IAsyncAction: ...
712
+ @typing.overload
713
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkAsSeenAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
714
+ def mark_as_seen_async(self, transport_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
715
+ # Deprecated alias of mark_as_seen_async() for pywinrt v3.x compatibility.
716
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkAsSeenAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
717
+ @deprecated("Use mark_as_seen_async() instead.")
718
+ def mark_as_seen_for_transports_async(self, transport_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
719
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::MarkMessageReadAsync(System.String)
720
+ def mark_message_read_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncAction: ...
721
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::RetrySendMessageAsync(System.String)
722
+ def retry_send_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncAction: ...
723
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::SaveMessageAsync(Windows.ApplicationModel.Chat.ChatMessage)
724
+ def save_message_async(self, chat_message: ChatMessage, /) -> windows_foundation.IAsyncAction: ...
725
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageStore::SendMessageAsync(Windows.ApplicationModel.Chat.ChatMessage)
726
+ def send_message_async(self, chat_message: ChatMessage, /) -> windows_foundation.IAsyncAction: ...
727
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Chat.ChatMessageStore::TryCancelDownloadMessageAsync(System.String)
728
+ def try_cancel_download_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
729
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Chat.ChatMessageStore::TryCancelSendMessageAsync(System.String)
730
+ def try_cancel_send_message_async(self, local_chat_message_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
731
+ # Windows.ApplicationModel.Chat.ChatMessageValidationResult Windows.ApplicationModel.Chat.ChatMessageStore::ValidateMessage(Windows.ApplicationModel.Chat.ChatMessage)
732
+ def validate_message(self, chat_message: ChatMessage, /) -> ChatMessageValidationResult: ...
733
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.ChatMessageStore::add_MessageChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.ChatMessageStore,Windows.ApplicationModel.Chat.ChatMessageChangedEventArgs>)
734
+ def add_message_changed(self, value: windows_foundation.TypedEventHandler[ChatMessageStore, ChatMessageChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
735
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageStore::remove_MessageChanged(Windows.Foundation.EventRegistrationToken)
736
+ def remove_message_changed(self, value: windows_foundation.EventRegistrationToken, /) -> None: ...
737
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.ChatMessageStore::add_StoreChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.ChatMessageStore,Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs>)
738
+ def add_store_changed(self, handler: windows_foundation.TypedEventHandler[ChatMessageStore, ChatMessageStoreChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
739
+ # System.Void Windows.ApplicationModel.Chat.ChatMessageStore::remove_StoreChanged(Windows.Foundation.EventRegistrationToken)
740
+ def remove_store_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
741
+ # Windows.ApplicationModel.Chat.ChatMessageChangeTracker Windows.ApplicationModel.Chat.ChatMessageStore::get_ChangeTracker()
742
+ @_property
743
+ def change_tracker(self) -> ChatMessageChangeTracker: ...
744
+
745
+ @typing.final
746
+ class ChatMessageStoreChangedEventArgs(winrt.system.Object):
747
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
748
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
749
+ # System.String Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs::get_Id()
750
+ @_property
751
+ def id(self) -> str: ...
752
+ # Windows.ApplicationModel.Chat.ChatStoreChangedEventKind Windows.ApplicationModel.Chat.ChatMessageStoreChangedEventArgs::get_Kind()
753
+ @_property
754
+ def kind(self) -> ChatStoreChangedEventKind: ...
755
+
756
+ @typing.final
757
+ class ChatMessageTransport(winrt.system.Object):
758
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
759
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
760
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatMessageTransport::RequestSetAsNotificationProviderAsync()
761
+ def request_set_as_notification_provider_async(self) -> windows_foundation.IAsyncAction: ...
762
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageTransport::get_IsActive()
763
+ @_property
764
+ def is_active(self) -> bool: ...
765
+ # System.Boolean Windows.ApplicationModel.Chat.ChatMessageTransport::get_IsAppSetAsNotificationProvider()
766
+ @_property
767
+ def is_app_set_as_notification_provider(self) -> bool: ...
768
+ # System.String Windows.ApplicationModel.Chat.ChatMessageTransport::get_TransportFriendlyName()
769
+ @_property
770
+ def transport_friendly_name(self) -> str: ...
771
+ # System.String Windows.ApplicationModel.Chat.ChatMessageTransport::get_TransportId()
772
+ @_property
773
+ def transport_id(self) -> str: ...
774
+ # Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration Windows.ApplicationModel.Chat.ChatMessageTransport::get_Configuration()
775
+ @_property
776
+ def configuration(self) -> ChatMessageTransportConfiguration: ...
777
+ # Windows.ApplicationModel.Chat.ChatMessageTransportKind Windows.ApplicationModel.Chat.ChatMessageTransport::get_TransportKind()
778
+ @_property
779
+ def transport_kind(self) -> ChatMessageTransportKind: ...
780
+
781
+ @typing.final
782
+ class ChatMessageTransportConfiguration(winrt.system.Object):
783
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
784
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
785
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_ExtendedProperties()
786
+ @_property
787
+ def extended_properties(self) -> _cabc.Mapping[str, winrt.system.Object]: ...
788
+ # System.Int32 Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_MaxAttachmentCount()
789
+ @_property
790
+ def max_attachment_count(self) -> winrt.system.Int32: ...
791
+ # System.Int32 Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_MaxMessageSizeInKilobytes()
792
+ @_property
793
+ def max_message_size_in_kilobytes(self) -> winrt.system.Int32: ...
794
+ # System.Int32 Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_MaxRecipientCount()
795
+ @_property
796
+ def max_recipient_count(self) -> winrt.system.Int32: ...
797
+ # Windows.Media.MediaProperties.MediaEncodingProfile Windows.ApplicationModel.Chat.ChatMessageTransportConfiguration::get_SupportedVideoFormat()
798
+ @_property
799
+ def supported_video_format(self) -> windows_media_mediaproperties.MediaEncodingProfile: ...
800
+
801
+ @typing.final
802
+ class ChatMessageValidationResult(winrt.system.Object):
803
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
804
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
805
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_MaxPartCount()
806
+ @_property
807
+ def max_part_count(self) -> winrt.system.UInt32 | None: ...
808
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_PartCount()
809
+ @_property
810
+ def part_count(self) -> winrt.system.UInt32 | None: ...
811
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_RemainingCharacterCountInPart()
812
+ @_property
813
+ def remaining_character_count_in_part(self) -> winrt.system.UInt32 | None: ...
814
+ # Windows.ApplicationModel.Chat.ChatMessageValidationStatus Windows.ApplicationModel.Chat.ChatMessageValidationResult::get_Status()
815
+ @_property
816
+ def status(self) -> ChatMessageValidationStatus: ...
817
+
818
+ @typing.final
819
+ class ChatQueryOptions(winrt.system.Object):
820
+ def __new__(cls) -> typing.Self: ...
821
+ # System.String Windows.ApplicationModel.Chat.ChatQueryOptions::get_SearchString()
822
+ @_property
823
+ def search_string(self) -> str: ...
824
+ # System.Void Windows.ApplicationModel.Chat.ChatQueryOptions::put_SearchString(System.String)
825
+ @search_string.setter
826
+ def search_string(self, value: str) -> None: ...
827
+
828
+ @typing.final
829
+ class ChatRecipientDeliveryInfo(winrt.system.Object):
830
+ def __new__(cls) -> typing.Self: ...
831
+ # System.String Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportAddress()
832
+ @_property
833
+ def transport_address(self) -> str: ...
834
+ # System.Void Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::put_TransportAddress(System.String)
835
+ @transport_address.setter
836
+ def transport_address(self, value: str) -> None: ...
837
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_ReadTime()
838
+ @_property
839
+ def read_time(self) -> datetime.datetime | None: ...
840
+ # System.Void Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::put_ReadTime(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
841
+ @read_time.setter
842
+ def read_time(self, value: datetime.datetime | None) -> None: ...
843
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_DeliveryTime()
844
+ @_property
845
+ def delivery_time(self) -> datetime.datetime | None: ...
846
+ # System.Void Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::put_DeliveryTime(Windows.Foundation.IReference`1<Windows.Foundation.DateTime>)
847
+ @delivery_time.setter
848
+ def delivery_time(self, value: datetime.datetime | None) -> None: ...
849
+ # System.Boolean Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_IsErrorPermanent()
850
+ @_property
851
+ def is_error_permanent(self) -> bool: ...
852
+ # Windows.ApplicationModel.Chat.ChatMessageStatus Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_Status()
853
+ @_property
854
+ def status(self) -> ChatMessageStatus: ...
855
+ # System.Int32 Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportErrorCode()
856
+ @_property
857
+ def transport_error_code(self) -> winrt.system.Int32: ...
858
+ # Windows.ApplicationModel.Chat.ChatTransportErrorCodeCategory Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportErrorCodeCategory()
859
+ @_property
860
+ def transport_error_code_category(self) -> ChatTransportErrorCodeCategory: ...
861
+ # Windows.ApplicationModel.Chat.ChatTransportInterpretedErrorCode Windows.ApplicationModel.Chat.ChatRecipientDeliveryInfo::get_TransportInterpretedErrorCode()
862
+ @_property
863
+ def transport_interpreted_error_code(self) -> ChatTransportInterpretedErrorCode: ...
864
+
865
+ @typing.final
866
+ class ChatSearchReader(winrt.system.Object):
867
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
868
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
869
+ @typing.overload
870
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.IChatItem>> Windows.ApplicationModel.Chat.ChatSearchReader::ReadBatchAsync()
871
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[IChatItem]]: ...
872
+ @typing.overload
873
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.IChatItem>> Windows.ApplicationModel.Chat.ChatSearchReader::ReadBatchAsync(System.Int32)
874
+ def read_batch_async(self, count: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[IChatItem]]: ...
875
+ # Deprecated alias of read_batch_async() for pywinrt v3.x compatibility.
876
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.IChatItem>> Windows.ApplicationModel.Chat.ChatSearchReader::ReadBatchAsync(System.Int32)
877
+ @deprecated("Use read_batch_async() instead.")
878
+ def read_batch_with_count_async(self, count: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[IChatItem]]: ...
879
+
880
+ @typing.final
881
+ class ChatSyncConfiguration(winrt.system.Object):
882
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
883
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
884
+ # Windows.ApplicationModel.Chat.ChatRestoreHistorySpan Windows.ApplicationModel.Chat.ChatSyncConfiguration::get_RestoreHistorySpan()
885
+ @_property
886
+ def restore_history_span(self) -> ChatRestoreHistorySpan: ...
887
+ # System.Void Windows.ApplicationModel.Chat.ChatSyncConfiguration::put_RestoreHistorySpan(Windows.ApplicationModel.Chat.ChatRestoreHistorySpan)
888
+ @restore_history_span.setter
889
+ def restore_history_span(self, value: ChatRestoreHistorySpan) -> None: ...
890
+ # System.Boolean Windows.ApplicationModel.Chat.ChatSyncConfiguration::get_IsSyncEnabled()
891
+ @_property
892
+ def is_sync_enabled(self) -> bool: ...
893
+ # System.Void Windows.ApplicationModel.Chat.ChatSyncConfiguration::put_IsSyncEnabled(System.Boolean)
894
+ @is_sync_enabled.setter
895
+ def is_sync_enabled(self, value: bool) -> None: ...
896
+
897
+ @typing.final
898
+ class ChatSyncManager(winrt.system.Object):
899
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
900
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
901
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatSyncManager::AssociateAccountAsync(Windows.Security.Credentials.WebAccount)
902
+ def associate_account_async(self, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncAction: ...
903
+ # System.Boolean Windows.ApplicationModel.Chat.ChatSyncManager::IsAccountAssociated(Windows.Security.Credentials.WebAccount)
904
+ def is_account_associated(self, web_account: windows_security_credentials.WebAccount, /) -> bool: ...
905
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatSyncManager::SetConfigurationAsync(Windows.ApplicationModel.Chat.ChatSyncConfiguration)
906
+ def set_configuration_async(self, configuration: ChatSyncConfiguration, /) -> windows_foundation.IAsyncAction: ...
907
+ # System.Void Windows.ApplicationModel.Chat.ChatSyncManager::StartSync()
908
+ def start_sync(self) -> None: ...
909
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.ChatSyncManager::UnassociateAccountAsync()
910
+ def unassociate_account_async(self) -> windows_foundation.IAsyncAction: ...
911
+ # Windows.ApplicationModel.Chat.ChatSyncConfiguration Windows.ApplicationModel.Chat.ChatSyncManager::get_Configuration()
912
+ @_property
913
+ def configuration(self) -> ChatSyncConfiguration: ...
914
+
915
+ @typing.final
916
+ class RcsEndUserMessage(winrt.system.Object):
917
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
918
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
919
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.RcsEndUserMessage::SendResponseAsync(Windows.ApplicationModel.Chat.RcsEndUserMessageAction)
920
+ def send_response_async(self, action: RcsEndUserMessageAction, /) -> windows_foundation.IAsyncAction: ...
921
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.RcsEndUserMessage::SendResponseWithPinAsync(Windows.ApplicationModel.Chat.RcsEndUserMessageAction,System.String)
922
+ def send_response_with_pin_async(self, action: RcsEndUserMessageAction, pin: str, /) -> windows_foundation.IAsyncAction: ...
923
+ # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.RcsEndUserMessageAction> Windows.ApplicationModel.Chat.RcsEndUserMessage::get_Actions()
924
+ @_property
925
+ def actions(self) -> _cabc.Sequence[RcsEndUserMessageAction]: ...
926
+ # System.Boolean Windows.ApplicationModel.Chat.RcsEndUserMessage::get_IsPinRequired()
927
+ @_property
928
+ def is_pin_required(self) -> bool: ...
929
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessage::get_Text()
930
+ @_property
931
+ def text(self) -> str: ...
932
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessage::get_Title()
933
+ @_property
934
+ def title(self) -> str: ...
935
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessage::get_TransportId()
936
+ @_property
937
+ def transport_id(self) -> str: ...
938
+
939
+ @typing.final
940
+ class RcsEndUserMessageAction(winrt.system.Object):
941
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
942
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
943
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessageAction::get_Label()
944
+ @_property
945
+ def label(self) -> str: ...
946
+
947
+ @typing.final
948
+ class RcsEndUserMessageAvailableEventArgs(winrt.system.Object):
949
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
950
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
951
+ # System.Boolean Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs::get_IsMessageAvailable()
952
+ @_property
953
+ def is_message_available(self) -> bool: ...
954
+ # Windows.ApplicationModel.Chat.RcsEndUserMessage Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs::get_Message()
955
+ @_property
956
+ def message(self) -> RcsEndUserMessage: ...
957
+
958
+ @typing.final
959
+ class RcsEndUserMessageAvailableTriggerDetails(winrt.system.Object):
960
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
961
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
962
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails::get_Text()
963
+ @_property
964
+ def text(self) -> str: ...
965
+ # System.String Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableTriggerDetails::get_Title()
966
+ @_property
967
+ def title(self) -> str: ...
968
+
969
+ @typing.final
970
+ class RcsEndUserMessageManager(winrt.system.Object):
971
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
972
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
973
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.RcsEndUserMessageManager::add_MessageAvailableChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.RcsEndUserMessageManager,Windows.ApplicationModel.Chat.RcsEndUserMessageAvailableEventArgs>)
974
+ def add_message_available_changed(self, handler: windows_foundation.TypedEventHandler[RcsEndUserMessageManager, RcsEndUserMessageAvailableEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
975
+ # System.Void Windows.ApplicationModel.Chat.RcsEndUserMessageManager::remove_MessageAvailableChanged(Windows.Foundation.EventRegistrationToken)
976
+ def remove_message_available_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
977
+
978
+ @typing.final
979
+ class RcsManager_Static(winrt.system.Object_Static):
980
+ # Windows.ApplicationModel.Chat.RcsEndUserMessageManager Windows.ApplicationModel.Chat.RcsManager::GetEndUserMessageManager()
981
+ def get_end_user_message_manager(cls) -> RcsEndUserMessageManager: ...
982
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Chat.RcsTransport> Windows.ApplicationModel.Chat.RcsManager::GetTransportAsync(System.String)
983
+ def get_transport_async(cls, transport_id: str, /) -> windows_foundation.IAsyncOperation[RcsTransport]: ...
984
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Chat.RcsTransport>> Windows.ApplicationModel.Chat.RcsManager::GetTransportsAsync()
985
+ def get_transports_async(cls) -> windows_foundation.IAsyncOperation[_cabc.Sequence[RcsTransport]]: ...
986
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Chat.RcsManager::LeaveConversationAsync(Windows.ApplicationModel.Chat.ChatConversation)
987
+ def leave_conversation_async(cls, conversation: ChatConversation, /) -> windows_foundation.IAsyncAction: ...
988
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.RcsManager::add_TransportListChanged(Windows.Foundation.EventHandler`1<System.Object>)
989
+ def add_transport_list_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
990
+ # System.Void Windows.ApplicationModel.Chat.RcsManager::remove_TransportListChanged(Windows.Foundation.EventRegistrationToken)
991
+ def remove_transport_list_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
992
+
993
+ @typing.final
994
+ class RcsManager(winrt.system.Object, metaclass=RcsManager_Static):
995
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
996
+ """A class of static members only, so there is nothing to create."""
997
+
998
+ @typing.final
999
+ class RcsServiceKindSupportedChangedEventArgs(winrt.system.Object):
1000
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
1001
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
1002
+ # Windows.ApplicationModel.Chat.RcsServiceKind Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs::get_ServiceKind()
1003
+ @_property
1004
+ def service_kind(self) -> RcsServiceKind: ...
1005
+
1006
+ @typing.final
1007
+ class RcsTransport(winrt.system.Object):
1008
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
1009
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
1010
+ # System.Boolean Windows.ApplicationModel.Chat.RcsTransport::IsServiceKindSupported(Windows.ApplicationModel.Chat.RcsServiceKind)
1011
+ def is_service_kind_supported(self, service_kind: RcsServiceKind, /) -> bool: ...
1012
+ # System.Boolean Windows.ApplicationModel.Chat.RcsTransport::IsStoreAndForwardEnabled(Windows.ApplicationModel.Chat.RcsServiceKind)
1013
+ def is_store_and_forward_enabled(self, service_kind: RcsServiceKind, /) -> bool: ...
1014
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Chat.RcsTransport::add_ServiceKindSupportedChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Chat.RcsTransport,Windows.ApplicationModel.Chat.RcsServiceKindSupportedChangedEventArgs>)
1015
+ def add_service_kind_supported_changed(self, handler: windows_foundation.TypedEventHandler[RcsTransport, RcsServiceKindSupportedChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
1016
+ # System.Void Windows.ApplicationModel.Chat.RcsTransport::remove_ServiceKindSupportedChanged(Windows.Foundation.EventRegistrationToken)
1017
+ def remove_service_kind_supported_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
1018
+ # Windows.ApplicationModel.Chat.RcsTransportConfiguration Windows.ApplicationModel.Chat.RcsTransport::get_Configuration()
1019
+ @_property
1020
+ def configuration(self) -> RcsTransportConfiguration: ...
1021
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.ApplicationModel.Chat.RcsTransport::get_ExtendedProperties()
1022
+ @_property
1023
+ def extended_properties(self) -> _cabc.Mapping[str, winrt.system.Object]: ...
1024
+ # System.Boolean Windows.ApplicationModel.Chat.RcsTransport::get_IsActive()
1025
+ @_property
1026
+ def is_active(self) -> bool: ...
1027
+ # System.String Windows.ApplicationModel.Chat.RcsTransport::get_TransportFriendlyName()
1028
+ @_property
1029
+ def transport_friendly_name(self) -> str: ...
1030
+ # System.String Windows.ApplicationModel.Chat.RcsTransport::get_TransportId()
1031
+ @_property
1032
+ def transport_id(self) -> str: ...
1033
+
1034
+ @typing.final
1035
+ class RcsTransportConfiguration(winrt.system.Object):
1036
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
1037
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
1038
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxAttachmentCount()
1039
+ @_property
1040
+ def max_attachment_count(self) -> winrt.system.Int32: ...
1041
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxFileSizeInKilobytes()
1042
+ @_property
1043
+ def max_file_size_in_kilobytes(self) -> winrt.system.Int32: ...
1044
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxGroupMessageSizeInKilobytes()
1045
+ @_property
1046
+ def max_group_message_size_in_kilobytes(self) -> winrt.system.Int32: ...
1047
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxMessageSizeInKilobytes()
1048
+ @_property
1049
+ def max_message_size_in_kilobytes(self) -> winrt.system.Int32: ...
1050
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_MaxRecipientCount()
1051
+ @_property
1052
+ def max_recipient_count(self) -> winrt.system.Int32: ...
1053
+ # System.Int32 Windows.ApplicationModel.Chat.RcsTransportConfiguration::get_WarningFileSizeInKilobytes()
1054
+ @_property
1055
+ def warning_file_size_in_kilobytes(self) -> winrt.system.Int32: ...
1056
+
1057
+ @typing.final
1058
+ class RemoteParticipantComposingChangedEventArgs(winrt.system.Object):
1059
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
1060
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
1061
+ # System.Boolean Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs::get_IsComposing()
1062
+ @_property
1063
+ def is_composing(self) -> bool: ...
1064
+ # System.String Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs::get_ParticipantAddress()
1065
+ @_property
1066
+ def participant_address(self) -> str: ...
1067
+ # System.String Windows.ApplicationModel.Chat.RemoteParticipantComposingChangedEventArgs::get_TransportId()
1068
+ @_property
1069
+ def transport_id(self) -> str: ...
1070
+
1071
+ class IChatItem(winrt.system.Object):
1072
+ # Windows.ApplicationModel.Chat.ChatItemKind Windows.ApplicationModel.Chat.IChatItem::get_ItemKind()
1073
+ @_property
1074
+ @abstractmethod
1075
+ def item_kind(self) -> ChatItemKind: ...
1076
+
File without changes
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Chat
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Chat namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-media-mediaproperties[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-security-credentials[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Description-Content-Type: text/markdown
33
+
34
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
35
+
36
+ # winrt-Windows.ApplicationModel.Chat
37
+
38
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Chat` namespace.
39
+
40
+ This package provides the `winrt.windows.applicationmodel.chat` module.
41
+
42
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
43
+ `Microsoft.Windows.SDK.CPP` NuGet package.
44
+
45
+ ```
46
+ pip install winrt-Windows.ApplicationModel.Chat
47
+ ```
48
+
49
+ Other WinRT namespaces are packages of their own, so install the package of
50
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/applicationmodel/chat/__init__.py,sha256=TYz4hizWBV7LSX5EZ4uTpSiXUnN94LQhyKkpWsLOVso,3186
2
+ winrt/windows/applicationmodel/chat/__init__.pyi,sha256=tvLTEInVZ7Joii9L4XAeui15R_pWZdrAykYALYxLGgs,70531
3
+ winrt/windows/applicationmodel/chat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/chat/_table.pywinrt,sha256=b5leNuzo134qbh9hyBr7d8aElZ07i3OS5Ubr-e2NyW8,106080
5
+ winrt_windows_applicationmodel_chat-4!10.0.28000.2705.dist-info/METADATA,sha256=jiiG0MLGy-M0Pq2tZa_5Xvc9rsfvlNE9m-31vVFWFos,2313
6
+ winrt_windows_applicationmodel_chat-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_chat-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_chat-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE