如何通过node.js获取电报机器人用户注册日期? [英] How to get telegram bot user registered date via node.js?

查看:35
本文介绍了如何通过node.js获取电报机器人用户注册日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过 node.js 在电报中获取电报机器人用户注册日期?
我在电报机器人 api ref 中找不到任何方法!

bot.on('message', (msg) => {控制台日志(味精);});

与此机器人相同:机器人链接

解决方案

很遗憾,暂时无法从 Telegram 获取这些数据 :(

引用之前的 /START 消息(来自您提到的机器人):

工作原理

<块引用>

引用@Superuser27:对某些 ID 的已知注册日期进行插值.机器人只有一个大的帐户 ID 列表及其相关(已知)创建日期,并将您的 ID 与此列表进行比较.

我的帐户创建日期错误

<块引用>

当然.这就是为什么它可爱前面有一个~".这只是一个猜测,而且一次给出的 ID 通常彼此相差很大,导致数据完全混乱.因此,只需将日期视为某种艺术即可.

可以在此处找到此消息.

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

解决方案

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.

这篇关于如何通过node.js获取电报机器人用户注册日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆