[英]How to save a message from a telegram chat and send other messages with your own account?
I want to build a code that save a certain telegram message, from a user , as an input (ex: "David: Hello how are you doing? ") and be able to send a certain message back, with
my own telegram account (ex: "Me: I'm fine! How are you? ")
我想构建一个代码,用来保存来自用户的某个电报消息作为输入(例如:“大卫: 你好,你好吗? ”)并能够用
我自己的电报帐户发回某个消息(例如:“我: 我很好!你好吗? ”)
Is there a way I can do this in python without using a telegram bot ?
有没有办法在不使用电报机器人的情况下在python中执行此操作? Because I dont think bots can actually connect to your own telegram account and send messages
因为我不认为机器人实际上可以连接到您自己的电报帐户并发送消息
不幸的是,实现这种结果的唯一方法是创建自己的自定义Telegram应用程序 ,看看https://core.telegram.org/api上的API文档
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.