Context  I am using telegraf.js for more than 3 bots which run very well in plenty of groups.  Currently one of the bots needs to request for Display Picture of the user who does not have a display picture.  It works very well as expected but unfortu...
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'm using node-telegram-bot-api module and I want to get number of a link shared by my users to their Friends.    Users have a Share Status Button Is there a way to display number of a link Shared or Clicked by User's Friends in Share Status...
I have started to write bot logic for telegram by using this module  I can create simple question and answer logic like this:  bot.onText(/\/start/, function(msg, match){   bot.sendMessage(msg.chat.id, "Hello this is great bot"); });   When u...
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'm trying to use answerInlineQuery method but i have an error:  function(inlineQuery) {         var url = API_URL + '/answerInlineQuery',             params = {};             var inline_query_id = inlineQuery.id;         var results = [{...
// command for starting request with a simple anti-spam shiet bot.command('movie', (ctx) => {            let stopSpam = findUserData(ctx);         if (stopSpam) {             ctx.reply(spammerMsg)         } else {             userData.pu...
Noob question, I am trying to download files from Telegram servers to Google Drive using Bot Api and Google App Script. As far as I know there is a bot called @getpubliclink in Telegram, which downloads the files to their servers and again re-upload...
I'm building a  wallet bot and I was wondering how can I initiate a session for an unique user. For example, in this session I would need an object containing the unique user identifier, the public key and secret key so they can access this after...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.