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 want to be able to return the content of these variables by using regular expressions.  'use strict'  const Telegraf = require('telegraf') const fs = require('fs')  var ar1 = fs.readFileSync('folder/ar1.txt').toStrin...
I am writing a very simple telegram-bot using the telegraf bot framework. So far it replies to some simple commands using .hears and .on methods, everything works fine so far.  Now I implemented another .hears method which is waiting for the string M...
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'm trying to create a logic system to kick a username from a private supergroup. But, when function is running I'm returning:  Api error: Body: {   ok: false,   error_code: 400,   description: 'Bad Request: wrong user_id specified' }...
I want to include the Telegram login widget in my Angular application. For this, you have to include the following script:  <script async src="https://telegram.org/js/telegram-widget.js?5"   data-telegram-login="bot_name" data-size...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.