腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
导入
InputPeerChannel时电传错误
、
为了使用Core,我使用了Python 3的
Telethon
库。from
telethon
.utils import InputPeerChannelTraceback (most recent call last): from
telethon
.utils import InputPeerChannelImportError: canno
浏览 3
提问于2022-04-17
得票数 0
回答已采纳
1
回答
无法
导入
telethon
、
、
让
telethon
处理我的代码。由于某种原因,我的代码在一段时间后不再工作,所以尝试升级
telethon
库。现在,甚至不能进口
telethon
。按照此处的安装说明进行操作:https://
telethon
.readthedocs.io/en/latest/basic/installation.html # pip3 show
telethon
Name:
Telethon
Summary: Full-
浏览 18
提问于2019-06-07
得票数 0
回答已采纳
1
回答
电报API (ModuleNotFoundError:没有名为“
telethon
.errors.rpc_errors_401”的模块)
、
、
、
、
我试图通过我的木星笔记本运行电报API,但在
导入
时显示了以下错误 来自
telethon
导入
的'
telethon
.errors.rpc_errors_401'
浏览 1
提问于2020-04-24
得票数 0
2
回答
在teletbon中更改用户权限
、
、
、
我正在尝试根据
telethon
文档中的示例更改组成员/管理员的权限:https://telethonn.readthedocs.io/en/latest/extra/examples/chats-and-channels.html#admin-permissions,但问题是所需的ChannelAdminRights类根本不存在,并且我收到ImportError错误:
无法
从'
telethon
.tl.types‘
导入
名称'Ch
浏览 21
提问于2021-07-29
得票数 1
1
回答
导入
Telethon
会话AWS Lambda
我试着用
Telethon
和AWS Lambda。更确切地说,我正在尝试使用客户端对象从一些公共渠道获取消息。是否有方法
导入
AWS Lambda中的现有会话,以防止Telegram/
telethon
请求验证代码(这是
无法
输入的)?TELEGRAM_PHONE')client = TelegramClient(userName, api_id, api_hash) 下面是我在AWS中通过层(与userName同名)
导入
的会话
浏览 5
提问于2022-07-10
得票数 1
1
回答
无模块名称
telethon
、
from
telethon
import TelegramClientTraceback (most recent call last):ImportError: No module named '
telethon
'切换到控制台上的python3并运行上述
导入
命令
浏览 0
提问于2020-01-21
得票数 0
1
回答
如何解析尚未交互的用户?
、
我正在寻找一种方法来解析尚未交互的电报用户对等(例如:我有一个电报列表--用户电话号码,通常被邀请到我的聊天/组/频道),但是还没有被满足/交互,因为在本地.session文件中没有他们的记录,所以应该有一种方式在电报-数据库<代码>E29</code>中搜索他们,以解析他们发送消息/邀请/.所需的Peer-Info。
浏览 4
提问于2021-05-20
得票数 0
1
回答
电传:像GetDialogsRequest这样的常用方法在哪里?
、
、
我可以在中看到下面的
导入
,但是在
Telethon
存储库中找不到像GetDialogsRequest和下面提到的其他函数。这些功能在哪里?他们不是电视项目的一部分,我应该去别的地方看看吗?
浏览 4
提问于2017-06-09
得票数 2
回答已采纳
1
回答
使用Python3将联系人列表从CSV文件
导入
电报
、
、
我正在尝试使用Python3从CSV文件
导入
联系人。import csvfrom
telethon
.tl.functions.contacts import GetContactsRequestfrom
telethon
.tl.types import InputPeerUser from
telethon
.tl.types i
浏览 0
提问于2018-04-21
得票数 3
1
回答
检查Python中的子类
、
、
、
functions.messages.CheckChatInviteRequest(hash=hash)) 我使用print(type(result))得到的结果是: 如果我不在群里,<class '
telethon
.tl.types.ChatInvite'>这个 <class '
telethon
.tl.types.ChatInviteAlready'>如果我已经在里面的话。现在,我想要做的是: if type(result) ==
telethon
.tl.types.Chat
浏览 0
提问于2019-03-08
得票数 0
回答已采纳
1
回答
我如何发送几个按钮到一个频道,并在用户单击其中一个按钮时立即获得它?
、
、
我是不是必须
导入
其他东西,或者我犯了一个错误?from
telethon
import functions, types, events, utils. await client.send_message
浏览 17
提问于2020-11-28
得票数 0
1
回答
如何使用电传API中的contacts.getLocated()与
telethon
?
、
、
但是我认为这个方法在
Telethon
库中是不可用的。或者至少我没找到怎么称呼它。from
telethon
import functions给我的:AttributeError: module '
telethon
.tl.functions.contacts我真的要用
Telethon
吗?
浏览 26
提问于2020-06-24
得票数 0
回答已采纳
1
回答
Telethon
-服务器关闭连接错误
、
我
无法
使用
Telethon
连接到Telegram。INFO:
telethon
.network.connection.connection:The server closed the connectionWARNING:
telethon
.network.mtpr
浏览 24
提问于2021-07-02
得票数 1
2
回答
Telethon
:删除消息
、
这是我的代码:from
telethon
.tl.types.input_peer_channel importInputPeerChannel #我的猜测是,下面的
导入
可能不是正确的,我应该在通道包中
导入
版本,它得到一个通道id和一个消息id?fro
浏览 16
提问于2017-06-14
得票数 2
回答已采纳
1
回答
远程电报API -不调用ResolveUsernameRequest解析invite链接
、
使用Telegram API和
Telethon
,一切都很好,但是我经常遇到一个问题。
浏览 57
提问于2022-01-26
得票数 1
1
回答
如果事件循环正在运行,但没有事件循环,则为“异步”。
、
、
我正在使用spyder 4.0.1中的python 3.7.7from
telethon
import functions
浏览 3
提问于2020-06-10
得票数 1
回答已采纳
2
回答
带
Telethon
的Python烧瓶
、
、
、
、
我想从我的Flask Web应用程序中使用
Telethon
Telegram API。
浏览 157
提问于2018-07-13
得票数 1
回答已采纳
1
回答
是否可以仅从auth_key开始创建
telethon
客户端?
、
、
telethon
的hello world看起来像这样:auth_key = "ca03d.....f8ed" # a long hex string client = TelegramClient
浏览 13
提问于2019-11-16
得票数 2
回答已采纳
1
回答
无法
使用Python3将50个以上的联系人从csv文件
导入
电报
、
、
、
正在尝试使用Python3代码将200个联系人从CSV文件
导入
电报。它与前50个联系人一起工作,然后停止并显示如下:你知道如何不用等待就能
导入
所有列表吗??
浏览 0
提问于2018-04-25
得票数 0
1
回答
Telethon
client.conversation()不起作用
、
、
、
)DEBUG:
telethon
.network.mtprotosender:
telethon
.network.mtprotosender:Encrypted messages put in a queue to be sent DEBUG:
telethon
.network.mtprotosender:
telethon
.network.m
浏览 32
提问于2020-10-11
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券