ChatMessageKind 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定聊天訊息的類型。
public enum class ChatMessageKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ChatMessageKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ChatMessageKind
var value = Windows.ApplicationModel.Chat.ChatMessageKind.standard
Public Enum ChatMessageKind
- 繼承
-
ChatMessageKind
- 屬性
Windows 需求
| 裝置系列 |
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
|
| API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
| 應用程式功能 |
chat
chatSystem
smsSend
|
欄位
| 名稱 | 值 | Description |
|---|---|---|
| FileTransferRequest | 1 | 檔案傳輸要求 |
| JoinedConversation | 3 | 使用者加入的對話 |
| LeftConversation | 4 | 使用者離開的交談 |
| OtherParticipantJoinedConversation | 5 | 另一位使用者加入的對話 |
| OtherParticipantLeftConversation | 6 | 另一位使用者離開的對話 |
| Standard | 0 | 標準聊天訊息 |
| TransportCustom | 2 | 應用程式寫入裝置的非 SMS/MMS 訊息 |