elmagekmosaad / Projeto-TInject

Projeto TInject

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TInject Community

Componente mais RECIFENSE da internet!

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

INSTRUÇÕES PARA USO DO COMPONENTE

Delphi versions: Seattle, Berlin, Tokyo, Rio, Sydney, Alexandria.

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

Instalação manual:

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

1-Clonar o repositório Projeto-TInject

2-Baixar e instalar o CEF4Delphi em: http://www.softmaisbrasil.com.br/#blog

3-Baixar a pasta BIN em: http://www.softmaisbrasil.com.br/#blog

4-Copiar todo o conteúdo baixado da pasta BIN no passo 3 para a pasta BIN na raiz do projeto (Caso não exista a pasta BIN em seu projeto Crie)

5-Adicione ao libary path do Delphi a pasta TInject-whatsapp-delphi e todas as subpastas

6-Clique no menu Component > Install component. Selecione a unit uTinject pasta(service) e selecionar a opção install into a new package. Por fim, digite o nome TInject em Package name.

7-Dê um Compile e depois dê um build

8-Abra o arquivo demo Tinject.dproj

Star History

Star History Chart

Recursos / Resources

✔️ Login
✔️ Logout
✔️ Enviar mensagens de texto com botões - Send text message with buttons (NEW)
✔️ 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
✔️ Enviar localização - Location sending
✔️ Listar contatos - Contact list
✔️ Listar bate papos - Conversation list
❌ Status da bateria - Battery status
✔️ 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
❌ Sair do grupo - Leave the group
❌ Adicionar participante ao grupo - Add participant to the group
❌ Remover participante do grupo - Remove group member
❌ Promover participante adminstrador do grupo - Promote participant group administrator
❌ Despromover participanete adminstrador do grupo - Demote participating group administrator
✔️ Listar todos os grupos - List all groups
✔️ Listar participantes do grupo - List group participants
✔️ Entrar em grupo via link convite - Join group via invitation link
❌ Enviar botões na conversa - Send buttons in chat(Not functional in WhatsApp Multi devices Beta)
✔️ Criar enquetes. Create Pool

Cursos do componente / Component lessions:

Clique aqui / Click where

Nota 1: O TInject é de código aberto desenvolvido em comunidade, e não possui nenhum outro componente de terceiro além do TChromium vinculado ao código.

Nota 2: Desenvolvido no rad studio 10.3.0 (RIO).

Doações via PIX / Donations PIX: comercial.softmais@gmail.com



Official documentation:

Events that send messages

event Description Example return
send Send text message TInject1.send('55819999999@c.us', 'hello'); -
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

Projeto TInject


Languages

Language:Pascal 100.0%Language:Batchfile 0.0%