Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.
/ tmembers Public archive

Simple script to get the number of channel subscribers in the Telegram

License

Notifications You must be signed in to change notification settings

project-cemetery/tmembers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmembers

Simple script to get the number of channel subscribers in the Telegram

Installation

yarn add tmembers

Or if you prefer npm:

npm i tmembers

Usage

TL;DR

import tmembers from 'tmembers'
 
tmembers('code_for', 1000).then(count => console.log(count));

Docs

tmembers accepts two parameters — channel and fallback. If fetching will fail, it returns fallback value. Function returns Promise{number}.

That's all. Enjoy!

About

Simple script to get the number of channel subscribers in the Telegram

Resources

License

Stars

Watchers

Forks

Packages

No packages published