id property

String id
final

~english The conversation ID.

For one-to-one chat,the conversation ID is the username of the other party. For group chat, the conversation ID is the group ID, not the group name. For chat room, the conversation ID is the chat room ID, not the chat room name. For help desk, the conversation ID is the username of the other party. ~end

~chinese 获取会话 ID。

对于单聊类型,会话 ID 同时也是对方用户的名称。 对于群聊类型,会话 ID 同时也是对方群组的 ID,并不同于群组的名称。 对于聊天室类型,会话 ID 同时也是聊天室的 ID,并不同于聊天室的名称。 对于 HelpDesk 类型,会话 ID 与单聊类型相同,是对方用户的名称。

Return 会话 ID。 ~end

Implementation

final String id;