简体   繁体   English

如何通过node.js获取电报bot用户注册日期?

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

How to get telegram bot user registered date in telegram via node.js? 如何通过node.js在电报中获取电报机器人用户注册日期?
I couldn't find any method in telegram bot api ref! 我在电报bot API ref中找不到任何方法!

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

same as this bot: Robot Link 与此机器人相同: Robot Link

Unfortunately, there have no way to get this data from Telegram for now :( 不幸的是,目前尚无从Telegram获得此数据的方法:(

Quote from previous /START message (from the bot you mentioned): 引用以前的/ START消息(来自您提到的漫游器):

How it works 这个怎么运作

To quote @Superuser27: Interpolation on known registration dates of certain IDs. 引用@ Superuser27:在某些ID的已知注册日期进行插值。 The bot just has a large list of Account's IDs and their associated (known) creation dates and compares your id against this list. 该漫游器只是一个很大的帐户ID及其相关(已知)创建日期的列表,并将您的ID与该列表进行比较。

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. 这只是一个猜测,而且一次给出的ID经常彼此非常不同,从而导致纯粹的数据混乱。 So just consider the date as some sort of art. 因此,只需将日期视为某种艺术即可。

EDIT: This message can be found here . 编辑:此消息可以在这里找到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM