npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-telegram-custom-json

v0.1.0

Published

Nó customizado do Telegram para n8n com suporte a JSON customizado e funcionalidades avançadas

Readme

n8n-telegram-custom-json

Este é um nó personalizado do Telegram para n8n com suporte aprimorado a JSON customizado e funcionalidades avançadas.

O Telegram é uma plataforma de mensageria baseada em nuvem que permite comunicação através de mensagens, mídia e bots automatizados.

n8n é uma plataforma de automação de workflow com licença fair-code.

Instalação

Siga o guia de instalação na documentação de nós da comunidade n8n.

npm install n8n-telegram-custom-json

Operações Suportadas

Telegram Node

  • Callback: Responder a consultas de callback
  • Chat: Gerenciar chats (obter informações, sair, obter membros, administradores)
  • File: Obter arquivos do Telegram
  • Message: Gerenciar mensagens
    • Enviar mensagens de texto
    • Enviar fotos, vídeos, animações
    • Enviar documentos e áudios
    • Enviar localizações e stickers
    • Enviar grupos de mídia
    • Editar mensagens
    • Deletar mensagens
    • Fixar mensagens no chat
    • Enviar ações de chat (digitando, enviando foto, etc.)
    • Enviar e Aguardar: Funcionalidade exclusiva para enviar mensagem e aguardar resposta

Telegram Trigger Node

  • Receber mensagens em tempo real
  • Webhooks para atualizações do bot
  • Processamento automático de comandos

Credenciais

Para usar este nó, você precisa:

  1. Criar um bot no Telegram:

    • Abra o Telegram e procure por @BotFather
    • Digite /newbot e siga as instruções
    • Copie o token do bot fornecido
  2. Configurar as credenciais no n8n:

    • Access Token: O token do bot fornecido pelo BotFather
    • Base URL: https://api.telegram.org (padrão)

Funcionalidades Especiais

JSON Customizado

Este nó oferece suporte aprimorado para manipulação de dados JSON, permitindo:

  • Formatação personalizada de mensagens
  • Processamento avançado de respostas
  • Integração com APIs externas

Send and Wait

Uma funcionalidade exclusiva que permite:

  • Enviar uma mensagem para um usuário
  • Aguardar pela resposta
  • Continuar o workflow com base na resposta recebida
  • Timeout configurável
  • Suporte a respostas em diferentes formatos

Compatibilidade

  • Versão mínima do n8n: 0.180.0
  • Testado com: n8n v1.0.0+
  • Node.js: v16.0.0+

Exemplos de Uso

Envio Simples de Mensagem

{
  "chatId": "123456789",
  "text": "Olá! Esta é uma mensagem do n8n."
}

Envio com Aguardo de Resposta

{
  "chatId": "123456789",
  "text": "Por favor, confirme sua escolha:",
  "waitForResponse": true,
  "timeout": 300
}

Envio de Mídia

{
  "chatId": "123456789",
  "photo": "https://example.com/image.jpg",
  "caption": "Aqui está a imagem solicitada"
}

Recursos

Suporte

Para relatar bugs ou solicitar funcionalidades:

Contribuições

Contribuições são bem-vindas! Por favor:

  1. Faça um fork do projeto
  2. Crie uma branch para sua funcionalidade
  3. Commit suas mudanças
  4. Abra um Pull Request

Licença

MIT

Autor

@i.zackz ([email protected])