当bot电报发送链接到用户php时,如何隐藏链接信息?

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

如何在电报机器人的帖子底部隐藏链接信息?例如,我尝试下面的代码:

<?php

$txt1="<a href='yahoo.com'>yahoo website</a>";
 $url= "https://api.telegram.org/bot".$token."/sendMessage?parse_mode=HTML&chat_id=".$chat_id."&text=".urlencode($txt1);
    file_get_contents($url);


?>

它显示帖子底部的雅虎信息

我该如何删除该信息?

请帮我。

谢谢

php bots telegram telegram-bot
1个回答
2
投票
© www.soinside.com 2019 - 2024. All rights reserved.