gpt4 book ai didi

botframework - 如何在 Telegram BotFather 中设置创建的游戏的 Url?

转载 作者:行者123 更新时间:2023-12-02 02:46:49 55 4
gpt4 key购买 nike

我在 BotFather Telegram 中创建了一个新游戏。但没有任何关于游戏链接的问题。另外,“sendGame”函数中没有任何参数可以设置游戏网址。如何在 BotFather 中创建的游戏后面设置我的 gameUrl?

我应该说,我正在使用 Microsoft Bot Framework 来开发我的机器人。

最佳答案

他们说你必须使用answerCallbackQuery方法

"URL that will be opened by the user's client. If you have created a Game and accepted the conditions via @Botfather, specify the URL that opens your game – note that this will only work if the query comes from a callback_game button.

Otherwise, you may use links like telegram.me/your_bot?start=XXXX that open your bot with a parameter."

关于botframework - 如何在 Telegram BotFather 中设置创建的游戏的 Url?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39986860/

55 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com