我如何才能:
获取公共频道信息历史记录,图片,视频.
将这些消息标记为已查看的
对于Telethon (python),我们可以使用以下方法:
for message in client.get_messages(channel, limit=int(count)):
result = client(functions.messages.GetMessagesViewsRequest(peer=channel,id=[message.id],increment=True))
我想在WTelegramClient in c#上使用这样的方法
我正在使用pubnub进行聊天,并使用userid作为发送消息的通道,但是当我想检索两个用户之间的对话时,我需要从两个渠道获取数据,我如何做到这一点?
我在两个频道上都有数据,例如"userAid“和"userBid”,但是如果我查询
this.pubnub.history(
{ channel: ['userAid,'userBid'], reverse: true, count: 15 },
(status, res) => {
});```
it does not ret
我正在制作一个不和谐的机器人,用来跟踪在语音频道上花费的时间,但我想知道我是如何做到的,它不计算在某个频道上的成员的时间,比如afk频道。
这就是我现在使用的事件
@client.event
async def on_voice_state_update(before, after):
"""Monitor status updates for voice channels"""
s = session()
# prefer nickname in server to actual discord username