Botframework – How do I set up the URL of the created game in Telegram Botfather?

I created a new game in BotFather Telegram. But there are no questions about the game link. Besides, there is no parameter to set the game URL in the “sendGame” function. How to set the game URL in BotFather Telegram Set my gameUrl after creating the game?

I should say, I am using Microsoft Bot Framework to develop my bot.

They said you must use the answerCallbackQuery method

“URL that will be opened by the user’s client. If you have created a< br> 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.”

I created a new one in BotFather Telegram Game. But there is no question about the game link. In addition, there is no parameter to set the game URL in the “sendGame” function. How to set my gameUrl after the game is created in BotFather?

I should say, I am using Microsoft Bot Framework to develop my bot.

They said you must use answerCallbackQuery Method

“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.”

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1701 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.