1.0.0 • Published 7 years ago

tchannels v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

tchannels

Search Telegram channels with tchannels.me.

Installation

npm i tchannels

Usage

Example:

const TChannels = require("tchannels");
TChannels.getTop().then(console.log);
/*
[ 
    { 
        name: 'LeVardos',
        description: 'The best humor stuff on the Web.',
        link: 'http://telegram.me/levardos' 
    },
    { 
        name: 'Web Dev (frontend, blogs)',
        description: 'Web Development news feed.',
        link: 'http://telegram.me/webdev_eng' 
    },
   ...
*/

Methods

Every method returns Promise

TChannels.getTop()

Get top channels.

TChannels.search(string query)

Search channels