# Enumeration ConversationType

会话类型

#### Version

1.0.0

- Defined in MacroDefine.ts:5

##### Index

### Enumeration Members

Private
Group
Chatroom
System
AppPublicService

## Enumeration Members

### Private

Private: 1

单聊

- Defined in MacroDefine.ts:9

### Group

Group: 3

群聊

- Defined in MacroDefine.ts:13

### Chatroom

Chatroom: 4

聊天室

- Defined in MacroDefine.ts:17

### System

System: 6

系统

#### Discussion

和 iOS Android 保持一致，鸿蒙 SDK 也只能接收系统会话的消息，发送系统会话的消息报错 InvalidArgumentConversationType = 34209

- Defined in MacroDefine.ts:23

### AppPublicService

AppPublicService: 7

应用公众服务。(仅支持私有云)

私有云的公众号不需要手动关注。在私有云管理后台创建的公众号会被该私有云的所有用户关注

#### Version

1.1.0

- Defined in MacroDefine.ts:30