Telegram bot深入链接并滚动到某些消息

问题描述 投票:-1回答:1

我创建了一个电报机器人,并且在聊天中有很多消息,我想以编程方式滚动到聊天中的特定消息,例如,我想在聊天中有一个链接到消息的深层链接,因此当我单击在链接上,我会在聊天中看到该消息,但由于某种原因,它不起作用。通过文档寻找外观应该可以解决问题

t.me/c/chat_id/message_id

tg://openmessage?user_id=xxxchat_id=xxx&message_id=xxx

不幸的是,这些都不对我有用,有人知道我在做什么错吗?

telegram telegram-bot python-telegram-bot telegram-webhook node-telegram-bot-api
1个回答
1
投票

t.me/c格式只能用于链接到channel

post
© www.soinside.com 2019 - 2024. All rights reserved.