mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
14 lines
540 B
JavaScript
14 lines
540 B
JavaScript
const path = require('path');
|
|
const protobuf = require('protobufjs');
|
|
|
|
const protodir = path.resolve(__dirname);
|
|
const group = protobuf.loadSync(path.join(protodir, 'group.proto')).lookup('groupproto');
|
|
|
|
module.exports = {
|
|
SenderKeyDistributionMessage: group.lookup('SenderKeyDistributionMessage'),
|
|
SenderKeyMessage: group.lookup('SenderKeyMessage'),
|
|
SenderKeyStateStructure: group.lookup('SenderKeyStateStructure'),
|
|
SenderChainKey: group.lookup('SenderChainKey'),
|
|
SenderSigningKey: group.lookup('SenderSigningKey'),
|
|
};
|