简体   繁体   English

如何让我的机器人访问我的电报帐户?

[英]How to give my bot access to my telegram account?

I want to manage my account with the bot, I want from bot to read messages from my account and reply inested of me without shows that bot is replying, what is the API for authentication to account and get information from the account?我想使用机器人管理我的帐户,我希望机器人从我的帐户中读取消息并回复我不感兴趣的内容,而不显示机器人正在回复,什么是 API 用于对帐户进行身份验证并从帐户中获取信息?

You cannot access your account with the telegram bot api in that way, so you will have to use the Telegram API您无法以这种方式使用电报机器人 api 访问您的帐户,因此您必须使用电报 API

greetings,问候,

Mike麦克风

There is a concept of Userbot among telegram users which is basically using a MTProto library to use your own account like a bot.电报用户中有一个 Userbot 的概念,它基本上是使用 MTProto 库来像机器人一样使用你自己的帐户。

You can check Telegram-Paperplane which uses Telethon MTProto Library, (Referred this as just an Idea for what you want to do, Check the PMPERMIT feature which might be little bit similar to your goal)..您可以查看使用Telethon MTProto 库的 Telegram-Paperplane ,(将此视为您想要做的事情的一个想法,检查可能与您的目标有点相似的 PMPERMIT 功能)..

Unfortunately it is not written in C#, You need to find MTProto library for C# make something like this to achieve your target.不幸的是,它不是用 C# 编写的,您需要为 C# 找到 MTProto 库,这样才能实现您的目标。

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

相关问题 我怎么知道电报用户是否使用电报bot API加入了我的频道? - How do I know if a telegram user joined my channel using telegram bot api? 我的机器人没有时间阅读消息 - Telegram Bot API - My bot does not have time to read messages - Telegram Bot API 如何使用电报Bot检查已删除的帐户 - how do I Check deleted Account with Telegram bot 如何使用服务帐户 ID 访问我的帐户电子邮件? - How can I access my account emails with service account id? 使用Telegram Bot C#在我的频道中搜索文件 - Search for a file in my channel with Telegram Bot C# 使用Bot获取加入我的电报频道的用户的chatID - Getting the chatID of the user who joins my telegram channel using Bot 无法使用ngrok在本地测试我的Telegram Bot - Couldn't test locally my Telegram Bot with ngrok 如何授予对NETWORK SERVICE帐户的SQL访问权限? - How to give SQL access to NETWORK SERVICE account? 当我将 Telegram Receive 作为后台服务 (IHostedService) 运行时,Telegram Bot Console.Readline 会阻止整个主机 - Telegram Bot Console.Readline Block Whole My Host when I Run my Telegram Receive as Background Service (IHostedService) 如何在Outlook(C#)中访问我的Yahoo或Gmail帐户? - how to access my yahoo or gmail account in outlook (c#)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM