Giter Site home page Giter Site logo

projeto-tinject's Introduction

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: [email protected]



Official documentation:

Events that send messages

event Description Example return
send Send text message TInject1.send('[email protected]', 'hello'); -
sendFile Send file and text message TInject1.SendFile('[email protected]', 'c:\myFile.pdf', 'hello'); -
sendContact Send whatsapp contact TInject1.sendContact('[email protected]', '[email protected]'); -
sendLinkPreview Send preview link TInject1.sendLinkPreview('[email protected]', 'https://youtube.com/video', 'hello'); -
sendLocation Send Location TInject1.sendLocation('[email protected]', '-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('[email protected]'); OnNewGetNumber TReturnCheckNumber
GetBatteryStatus Checks the device's battery level TInject1.GetBatteryStatus; OnGetBatteryLevel TInject(Sender).BatteryLevel

projeto-tinject's People

Contributors

mikelustosa avatar jtheiller avatar dorpoa avatar softmais avatar renanrpozzo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.