1.0.0 • Published 7 years ago
tchannels v1.0.0
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
1.0.0
7 years ago