[英]How to send a message from my name (my account, not the bot) in Telegram using Python?
I already have the main script.我已经有了主脚本。 Now I only need the method that will send a certaing message from my account (my name) to another person automatically.
现在我只需要从我的帐户(我的名字)自动向另一个人发送确定消息的方法。 Is it possible to send messages that way?
可以这样发送消息吗?
You would have to use the Telegram Database Library , which is a set of APIs you can use to control your user's actions via HTTP requests.您必须使用Telegram Database Library ,这是一组 API,可用于通过 HTTP 请求控制用户的操作。 Then you'll use the sendMessage class to send a message as yourself.
然后,您将使用 sendMessage class 以您自己的身份发送消息。 The Get Started page pretty much has everything you need for your project.
入门页面几乎包含您项目所需的一切。
Source: https://core.telegram.org/#tdlib-build-your-own-telegram资料来源: https://core.telegram.org/#tdlib-build-your-own-telegram
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.