如何获取PHP中最新的telegram频道post?
How to get the latest telegram channel post in PHP?
如何获取 PHP 中的最后一个电报频道 post?
例如,我可以这样获取频道成员数:
file_get_contents("https://api.telegram.org/botTOKEN/getChatMembersCount?chat_id=@channelusername");
你不能,直接。
为此,您必须使用 $update['channel_post']['message_id']
然后将其存储到您的数据库中。
如何获取 PHP 中的最后一个电报频道 post?
例如,我可以这样获取频道成员数:
file_get_contents("https://api.telegram.org/botTOKEN/getChatMembersCount?chat_id=@channelusername");
你不能,直接。
为此,您必须使用 $update['channel_post']['message_id']
然后将其存储到您的数据库中。