chatId property

  1. @TagNumber.new(1)
Int64 get chatId

会话id(指此次聊天会话的id, 实际上是 终端用户 的 client id) 此处避免与连接session混淆, 用chat id区分 对于终端用户(h5, web), 无视此字段(服务端填入) 对于客服(pc), 发消息时填对应会话的id 对于持久化, 可作为 分区 id

Implementation

@$pb.TagNumber(1)
$fixnum.Int64 get chatId => $_getI64(0);
  1. @TagNumber.new(1)
set chatId (Int64 v)

Implementation

@$pb.TagNumber(1)
set chatId($fixnum.Int64 v) { $_setInt64(0, v); }