INNER CODE UNIT · JavaScript
Message
yangfeng20/boss_batch_push · src/oop-self-req-main.js:1779
class Message {
static AwesomeMessage;
static {
let Type = protobuf.Type, Field = protobuf.Field;
const root = new protobuf.Root()
.define("cn.techwolf.boss.chat")
.add(new Type("TechwolfUser")
.add(new Field("uid", 1, "int64"))
.add(new Field("name", 2, "string", "optional"))
.add(new Field("source", 7, "int32", "optional")))
.add(new Type("TechwolfMessageBody")
.add(new Field("type", 1, "int32"))
.add(new Field("templateId", 2, "int32", "optional"))
.add(new Field("headTitle", 11, "string"))
.add(new Field("text", 3, "string")))
.add(new Type("TechwolfMessage")
.add(new Field("from", 1, "TechwolfUser"))