Basic Chat and Message model implementation

This commit is contained in:
Pedro Lopez
2019-02-17 21:14:31 -04:00
parent 1dab219764
commit 6442469437
10 changed files with 118 additions and 18 deletions

View File

@@ -21,4 +21,20 @@ exports.Events = {
READY: 'ready',
MESSAGE_CREATE: 'message',
QR_RECEIVED: 'qr'
}
exports.MessageTypes = {
TEXT: 'chat',
AUDIO: 'audio',
VOICE: 'ptt',
IMAGE: 'image',
VIDEO: 'video',
DOCUMENT: 'document',
STICKER: 'sticker'
}
exports.ChatTypes = {
SOLO: 'solo',
GROUP: 'group',
UNKNOWN: 'unknown'
}