在Python Pyrogram中单独使用客户端
我遇到了Proragram的问题,
app = Client("session",
api_id,
api_hash,
bot_token)
该如何通过Bot而非UserBot发送消息?
I have got this problem with pyrogram
app = Client("session",
api_id,
api_hash,
bot_token)
How can i send message via bot not userbot ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了同时使用机器人和一个Userbot,您应该这样做:
或者可以使用螺纹泥浆使用2个线程。
for using a bot and a userbot separately in same time you should do this :
or you can use 2 threads with using threading mudule.