mirai-core / net.mamoe.mirai.message.data / CustomMessage / Factory / <init>

<init>

Factory(typeName: String)

序列化和反序列化此消息的工厂, 将会自动注册. 应实现为 object.

See Also

JsonSerializerFactory

ProtoBufSerializerFactory