New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

telegram-bot-audience-check

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telegram-bot-audience-check

Audience checker for telegram bots

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

telegram-bot-audience-check

A tool for checking telegram bot audience

Uses sending typing action and checking for errors method

Howto

Just run npx telegram-bot-audience-check BOT_TOKEN data-test.json,

where BOT_TOKEN is a bot token (like 5432947618:AAHg2R7rkaUoMv8zf9YcShGVf9R12goRx8k or something) and data-test.json is a file with ids

Files can be both json and txt. data-*.json files are gitignored.

Txt data should be a \n-separated list of ids like

23
34
456

Data json should be an array with any of following styles:

[
  123,
  456,
  789,
  { "id": 1234 },
  { "id": 5678 },
  { "id": { "$numberLong" : "12345" }}
]

The purpose was to proceed mongodb export files

TODO: handle time limits (goes to OTHER now)
TODO: store resulting datasets, not only to show statistics

Keywords

telegram

FAQs

Package last updated on 28 Nov 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