mikelustosa / TInject-corporate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Componente TInject Corporate

Componente para criação de chatBots com delphi
Component for creating chatBots with delphi

INSTRUÇÕES PARA USO DO COMPONENTE

Compatibilidade testada nas seguintes versões do Delphi: Seattle, Berlim, Tokyo, Rio, Sydney.

Tutorial de instalação no youtube:

https://www.youtube.com/watch?v=EIxFdtenNxI&t=31s


Videos demo:
https://youtu.be/YEmwghSGoFA
https://youtu.be/07RoReOHaT4
https://youtu.be/cbWW7VNYwEo

NOVO: Para usar com o delphi 10.4 Sydney, incluir no library path 32 bits a pasta Compilados e suas subpastas.

Recursos / Resources

✔️ Login
✔️ Logout
✔️ Confirmação de entrega de mensagens - Message delivery confirmation (NEW)
✔️ Enviar mensagens de texto com botão e lista - Send text message with button and list (NEW)
✔️ Enviar mensagens de texto com botões - Send text message with buttons (Não compatível com o multi device)
✔️ Enviar mensagens de texto para números fora da agenda - Send text message
✔️ Enviar mensagens para grupos - Send group messages
✔️ Enviar contatos - Send phone contacts
✔️ Enviar MP3 - Send MP3
✔️ Enviar MP4 - Send MP4
✔️ Enviar IMG - Send IMG
✔️ Enviar RAR - Send RAR
✔️ Enviar Link com prévia - Sending and preview (Não compatível com o multi device)
✔️ Enviar localização - Location sending
✔️ Listar contatos - Contact list
✔️ Listar bate papos - Conversation list
✔️ Status da bateria - Battery status (Não compatível com o multi device)
✔️ Simular digitando - Typing simulation
✔️ Recebimento de novas mensagem - Receiving new messages
✔️ Configurações de DDI - International number configuration
✔️ Validação de números - number validator
✔️ Checagem de conexão - check connection
✔️ Download de arquivos - Download files
✔️ Download da foto de perfil - Download profile picture
✔️ Criar grupo - Create group (Não compatível com o multi device)
✔️ Sair do grupo - Leave the group (Não compatível com o multi device)
✔️ Adicionar participante ao grupo - Add participant to the group (Não compatível com o multi device)
✔️ Remover participante do grupo - Remove group member (Não compatível com o multi device)
✔️ Promover participante adminstrador do grupo - Promote participant group administrator (Não compatível com o multi device)
✔️ Despromover participanete adminstrador do grupo - Demote participating group administrator (Não compatível com o multi device)
✔️ Listar todos os grupos - List all groups
✔️ Listar participantes do grupo - List group participants
✔️ Obter link convite de grupos - Get Group invitation link
✔️ Entrar em grupo via link convite - Join group via invitation link
✔️ Monitoramento automático em caso de atualizações disponíveis do WhatsApp - Automatic monitoring in case of available WhatsApp updates

Cursos do componente / Component lessions:

Clique aqui / Click where

Official documentation:

Events that send messages

event Description Example return
send Send text message TInject1.send('55819999999@c.us', 'hello'); -
sendButtons Send text message buttons TInject1.sendButtons('55819999999@c.us', 'Choose', [{buttonId: 'id1', buttonText:{displayText: 'SIM'}, type: 1}, type: 1}], 'Escolha uma opção'); -
sendFile Send file and text message TInject1.SendFile('558199999999@c.us', 'c:\myFile.pdf', 'hello'); -
sendContact Send whatsapp contact TInject1.sendContact('destinationContact@c.us', 'contactToBeSent@c.us'); -
sendLinkPreview Send preview link TInject1.sendLinkPreview('558199999999@c.us', 'https://youtube.com/video', 'hello'); -
sendLocation Send Location TInject1.sendLocation('55819999999@c.us', '-70.4078', '25.3789', 'my location');

Verifications events

event Description example event return return
CheckIsConnected Checks the connection between the device and whatsapp TInject1.CheckIsConnected(); OnIsConnected boolean
NewCheckIsValidNumber Checks whether one or more numbers are whatsapp numbers TInject1.NewCheckIsValidNumber('558199999999@c.us'); OnNewGetNumber TReturnCheckNumber
GetBatteryStatus Checks the device's battery level TInject1.GetBatteryStatus; OnGetBatteryLevel TInject(Sender).BatteryLevel

About


Languages

Language:Pascal 100.0%Language:Batchfile 0.0%