Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

neogramma

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neogramma

Telegram MTProto framework base gram.js

  • 1.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

tgsnakeicon-flaticon
Hi, tgsnake is a framework developed based on gram.js
github-repo telegram-chat
telegram-channel

WARNING!
Maybe your account will be banned if you login using this framework. I don't know what caused it to happen. I am not responsible if your account is banned!

Example :

  • Installation :
yarn add tgsnake@latest
  • Simple Hello World :
const {Snake} = require("tgsnake")
// import {Snake} from "tgsnake"
const bot = new Snake({
  apiHash : "abcde", //your api hash
  apiId : 123456, // your api id
  logger:"none" // gramjs logger
})
bot.run() //snake running
bot.on("message",(ctx)=>{ //handle new message event.
  ctx.reply("Hello World") // reply with "Hello World"
  //console.log(ctx) // see json of message.
})

More example you can found in example folder or in website.

Contribution

Welcome, You can contribute to this project.

Guide
  • Fork this repo to your account.
  • Clone your fork repo using git.
git clone <your github repo url> -b "dev"

Cloning branch dev in your repo.

  • Edit and make something.
  • Pull new update from branch dev original repo (this repo).
  • Push update to your branch dev in fork repo.
  • Create pull request to branch dev original repo from branch dev frok repo.

Reference

Thanks to all the frameworks and references that I use, several people who helped in developing this framework that I cannot mention one by one.

Build with ♥️ by tgsnake dev.

Keywords

FAQs

Package last updated on 22 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc