How to get telegram bot user registered date via node.js?

旧时模样 提交于 2021-02-08 10:27:26

问题


How to get telegram bot user registered date in telegram via node.js?
I couldn't find any method in telegram bot api ref!

bot.on('message', (msg) => {
  console.log(msg);
});

same as this bot: Robot Link


回答1:


Unfortunately, there have no way to get this data from Telegram for now :(

Quote from previous /START message (from the bot you mentioned):

How it works

To quote @Superuser27: Interpolation on known registration dates of certain IDs. The bot just has a large list of Account's IDs and their associated (known) creation dates and compares your id against this list.

My account creation date is wrong

Sure. That is why there is a "~" in front of it cutie. It is just a guess and very often the IDs given out at a time differ very much from each other, resulting in a sheer data mess. So just consider the date as some sort of art.

EDIT: This message can be found here.



来源:https://stackoverflow.com/questions/50315089/how-to-get-telegram-bot-user-registered-date-via-node-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!