从Python在Telegram频道上发送链接,没有预览



我用这种方法在电报频道上发送消息:

telegramResult = requests.get('https://api.telegram.org/bot' + telegramApiKey + '/sendMessage', params={
'chat_id': '@XXXXXX',
'text': 'hello world' + getShortLink
})

问题是电报查看这个短链接的预览。我没有看到这个预览

请问,你能帮我吗?谢谢!

我的问题解决了。现在我使用方法sendPhoto (teleport库),当我添加短链接时,我看不到更多的预览图像。
telegramResult = requests.get('https://api.telegram.org/bot' + telegramApiKey + '/sendMessage', params={
'chat_id': '@XXXXXX',
'text': 'hello world' + getShortLink
})