I have the following code:    inline_keyboard: [     [{ text: 'Authorize', callback_data: '1', url: 'https://google.com' }],   ],   When I press the button that comes out this code, the resulting url is modified to:   tg://uns...
I am using Node.js telegram-bot-api.  Idea:   Show a custom keyboard with one button - "Share my phone number". When user clicks this button, contact should be sent and button should be removed from screen.   Here is a code I am using right n...
I created an application which display a survey wizard to the user. When the user launch the /start command, I call the AddProject:  const Telegraf = require('telegraf'); const bot = new Telegraf(process.env.BOT_TOKEN); const session = requir...
I have a problem concerning a Telegram bot I am currently working on. I get messages from users in the following format:     update { update_id: 82618016,    message:     { message_id: 363,       from: { id: 22303518, first_name: 'Steve', lan...
I am trying to use telegram node modules (telegram-js, telegram-mt-node, telegram-tl-node) inside webpack on a client web app.  currently I am getting this error:  Uncaught ReferenceError: require is not defined   the error is pointing to this line:...
how to check if Computer\HKEY_CURRENT_USER\Software\Classes\tg exists or not by Javascript (Supported by All Browsers)....
I am trying to associate buttons with their subsequent display. I want a different answer depending on the button. like "if msg.data is equal to something, something is displayed. help with this, please. it displays correctly in the console when...
I am trying to start my game via my telegramBot, It suppose to redirect me to another page (http://localhost in this case). but it gives me "Unhandled rejection Error: ETELEGRAM: 400 Bad Request: URL_INVALID" error. whatever I tried I could n...
I need to build a page which would redirect to some app (e.g., Telegram) via javascript or redirect to other page if the app is not installed. User should be redirected without clicking on something and without other actions. The page should work on...
I want to create button in my telegram bot by javascript and I working in script google.    But it didn't fetch.  My code:  function a() {   const opts = {     reply_to_message_id: '690534265',     reply_markup: {       resize_keyboard: t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.