@xet/chat-names
v1.0.0
Published
Extrai o nome do `db` e da `collection` de uma string específica.
Downloads
4
Readme
Names - Chat TELEPORT
Extrai o nome do db
e da collection
do objeto do chat.
Exemplo
Direct Message
{
"from": "c:8:u:123",
"to": ["c:8:u:456"],
"text": "Hi",
"type": "message",
}
Group
{
"from": "c:8:u:123",
"to": ["c:8:g:456"],
"text": "Can anyone help me?",
"type": "message",
}