Does exists any way to get bot's statistics with API or with web interface or with BotFather? Or I must to collect statistics by processing updates from bot API?
ps. Currently I store statistics in Redis by processing updates from bot API, but I wish find better way.
As aleix said there is no official support. After several days of research I've found the solutions for all platform bots, including telegram:
Chatbase.com from Google
botanalytics.co (free + paid)
dashbot.io(free up to 10 M messages)
no, there is no official support from Telegram to do that. There are third party analytics like botan, you can get navigate via bot to your bots stats:
Botan.io (seems to be abandoned)
You can see an example here: analytics tool for your telegram Bot
They also have integration to track more data via website:
url-shortening
If it is your bot performance that you worry about and you bot is popular (~300 requests per min), Botfather will monitor the request/response rate and alert you if there is something wrong.
Check the Status alert section in Bot Intro.
no actually you cant! But the easiest way for getting statistics about the users is to save the chat_id to database or into simple txt file.
the best way for that is use php mysql function to insert each chat_id into 1 columns then send it to your chat_id ...!
Related
I would like to create an automate who collects Notifications, those are into the clock icon at the top right, to make a summary at the end of the day through an email.
I was searching but I don't found anything: is existing an API who retrieved the notifications from Google Analytics ?
No there isn't. The only APIs available are listed below, none of them provide notifications information.
https://developers.google.com/analytics/devguides/reporting/core/
https://developers.google.com/analytics/devguides/reporting/embed/
https://developers.google.com/analytics/devguides/reporting/mcf/
https://developers.google.com/analytics/devguides/reporting/realtime/
https://developers.google.com/analytics/devguides/reporting/metadata/
https://developers.google.com/analytics/devguides/config/mgmt
An alternative is to create custom alerts with emails, then use tools like Zapier to process those emails in an automated fashion.
I want to implement Whatsapp
to send information from an external application. The idea is to use this
external application to send information throughout Whatsapp.
If you can help me about the terms and
conditions and if this query is possible to develop.
There is a way through which you can send WhatsApp message from your self created application. Use this link Chat API.
But it only provides 3 days trail period and after that you have to purchase it.
The process in that is, you have to register with your google account, then scan the QR code provided(which changes after every 45 seconds). and you are set to go, they will provide you the API for : PHP, Node.JS, Jquery, CURL.
One thing more you always have to keep your phone connected with the internet everytime.
Also I found a drawback in that, i.e. they also provide API to read messages, but it is too slow, as in my condition I can see my messages of yesterday but not of today.
I want to send OTP , first to Telegram with usual SMS fallback.
Therefore i have to detect read callback of OTP message from user only with telegram cli API, unfortunately(Telegram bots doesn't provide read ack. feature).
There is no any concrete info in Telegram.
Is there any limit related to telegram bot (and telegram cli) subscribers(contacts) count? Except report spam.
Also what is the limit with native telegram api sendMessage? Which density i have to keep to not banned? Also do i need more numbers or accounts for this?
I searched everywhere and can't find relevant numbers although there are some users with plenty number of accounts.
Thanks for help!
UPDATE
Limitations on bot like 30q/sec and etc. is explicit in FAQ. i have to know all other limitations, especially on CLI(max contacts, requests frequency limit). For example, i have to know is this number registered in telegram - This is possible only with cli.Therefore i don't want to abuse platform restrictions, cause of commercial cause. Glad to hear more official ways.
You can check out Bot FAQ:
If you're sending bulk notifications to multiple users, the API will
not allow more than 30 messages per second or so. Consider spreading
out notifications over large intervals of 8—12 hours for best results.
Also note that your bot will not be able to send more than 20 messages
per minute to the same group.
Can anyone suggest me that,is it possible to create service now incident ticket using Telegram message.
Is there any documentation available to integrate servicenow bot in telegram for this purpose.
Thanks in advance.
Jup this should definitely be possible, I never tried writing a Telegram Bot but I'm sure you are able to handle REST/SOAP and that's how you would create an Incident. As of documentation for Service-Now you should look into JSONv2 or Table API. Apparently as I said I don't have that much of a clue how Telegram Bots are working. I would suggest that you have a look at the FAQ.
I've been working with the twitter search api, retrieving tweets with a php script run by a cron job, 3 or 4 times per hour.
All works fine, I can save some fields from the resulting tweets into mySQL for doing some research, contests, and accounting.
I begun experiencing some "trouble" some days ago when some hashtag hit Global Trending Topic, and the saved tweets werent't reflecting the real quantity of tweets We could see through search, etc.
So:
1- Should I use instead the twitter Streaming API?
2- Should I contact api AT twitter.com and request special permissions for my app or username?
3- Finally, is there a working way to acchieve this "realtime" monitoring script that can give more accurate and real results?
Thanks a lot in advance
Got a reply from twitter api staff...
It seems I should use STREAMING API, and they point me to this url
https://dev.twitter.com/docs/streaming-api/methods#track
Hope it is useful for others