I want to know hot to read and save into a variable the text of a button that was clicked by a user who chat with my telegram bot.  PROBLEM:   I have this piece of code that helps me to take the webhook response for my bot.  $getupdates = file_get_co...
I have this JavaScript code:  bot.sendVoice(chatId, 'C:/Users/a.repetto/Desktop/repettobot/hello_world.ogg', {      disable_notification: true,      reply_to_message_id: msg.message_id     }).then(function () {     // reply sent!     });    T...
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...
Currently bot has option to show welcome messages for the new new_chat_members which shows for each member. There are plenty of welcome messages staying in group due to the high volume of new members. iIt is bit irritating for the current users showi...
I'm using node-telegram-bot-api. I would have multiple InlineKeyboardButton and bind them with different CallbackQuery throw answerCallbackQuery method. Can you show me an example please? Thank you....
I'm sort of building an AI for a Telegram Bot, and currently I'm trying to process the text and respond to the user almost like a human does.  For example;  "I want to register"  As a human we understand that the user wants to registe...
How to Get user location latitude and longitude via telegram bot?  Module: Link  Code:  bot.onText(/getLocation/, (msg) => {   const opts = {     reply_markup: JSON.stringify({       keyboard: [         [{text: 'Location', request_location...
I am trying to make a telegram bot(for learning purpose) with nodejs using official telegram bot api. I set a webhook to heroku. I am able to reply the request but after some time the same request come again after some time. Is it normal to get same...
The reply allowed html style with inline button but unfortunately it is not possible to use markdown style with inline button.  const inlineButtons = () => {   const inlineLinks = [     {       title: 'Google',       link: 'https://www...
Trying to make my first telegram bot, in all examples and instructions it looks very simple and easy to repeat. However, my bot doesn't work at all. Firstly, I am from Russia and telegram api is blocked, so I need to use proxy. Took one from http...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.