【问题标题】:Telegram bot php - Broadcasting location - how to read changes?Telegram bot php - 广播位置 - 如何读取更改?
【发布时间】:2020-12-29 15:39:16
【问题描述】:

请告诉我。如何读取用户发送给机器人的广播、地理位置变化?

用户 -> 广播位置 -> Telegram bot -> 如何读取更改?

代码用广播处理发送的消息,但只处理第一个发送的数据(感兴趣的经度、纬度)。

我正在使用:telegram-bot-sdk

【问题讨论】:

标签: php geolocation bots telegram


【解决方案1】:

答案:

$message = $this->update->getEditedMessage()

帮助:https://core.telegram.org/method/messages.editMessage

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-05-31
    • 2017-07-04
    • 2017-07-22
    • 1970-01-01
    • 2021-11-26
    • 2019-03-09
    • 1970-01-01
    • 2018-12-19
    相关资源
    最近更新 更多