3.0.9 • Published 3 years ago

telegram-channel-data v3.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

#What Is This Work? Grab Data From Telegram Channel.

#How To Use It? First Install Via Run Below Command In Terminal

npm install telegram-channel-data

Obtaining your API ID and Hash Follow this link and login with your phone number. 1 ) Click under API Development tools. 2 ) A Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can be changed later as long as I'm aware. 3 ) Click on Create application at the end. Now that you have the API ID and Hash

const channelData = require("telegram-channel-data")

var channel = use channelusername

ChannelData.ChannelData(channel,apiId,apiHash,string) .then(data => { console.log(data) // { 'totalPost' : 6, 'totalViews' : 124K, 'averageViews' : 34K } })

#Using await

var result = await ChannelData.ChannelData(channelid,apiId,apiHash,string)

if(result.message){ return reply(result.message) // Invalid Channel }

return reply(result) // { 'totalPost' : 6, 'totalViews' : 124K, 'averageViews' : 34K }

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.0

3 years ago

3.0.9

3 years ago

1.0.9

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago