Getting input from users in Bot – Telegram API
I have a question about building a telegram bot with python. How can I get input from the user in my python-telegram-bot? For example, a dictionary bot, how can I get a word from the user?
I have a question about building a telegram bot with python. How can I get input from the user in my python-telegram-bot? For example, a dictionary bot, how can I get a word from the user?
Hi I want to send a photo with my telegram bot but my VS doesn't recognize "FileToSend" and my error is : int chatId = int.Parse(dgReport.CurrentRow.Cells[0].Value.ToString()); FileStream imageFile = System.IO.File.Open(txtFilePath.Text,FileMode.Open); bot.SendPhotoAsync(chatId, new FileToSend("1234.jpg", imageFile), txtmessage.Text); CS0246 The type or namespace…
What I want to do is to send a message when the user uses the command /cotizacion That message should look like this: Ultima Actualizacion: content[fecha] Compra: content[compra] Venta: content[venta] Variacion: content[variacion] What I cannot do is: Add the text…
I create a bot in telegram and set webhook in my domain address. Now i want to change my domain bot i forget page of webhook in my website. Is there a way I can find my robot's webhook address?…
I´m developing a telegram bot in c#. Using the class TelegramBotClient in Telegram.Bot library. I want to send a message with SendTextMessageAsync using HTML option. In the official documentation (https://core.telegram.org/bots/api#markdown-style) I can see this: string texto = @"<b>bold</b>, <strong> bold…
I´m developing a telegram bot in c#. Using the class TelegramBotClient in Telegram.Bot library. I want to create a pop-up notification after click on a InlineKeyboardButton. Does anyone know how to do it? Thank you very much. I want to…
I'm using Telethon in python to automatic replies in Telegram's Group. I wanna reporting spam or abuse an account automatically via the Telethon and I read the Telethon document and google it, but I can't find any example. If this…
I have created and deployed a telegram bot which can perform some simple chat and analytics functions. I have set a couple of / commands via botfathers /setcommands functionality and they all work fine. However in group chats I have…
I try to create custom keyboard for telegram bot. Use the solution by AmatuerDev: create dynamic Keyboard telegram bot in c# , MrRoundRobin API and it looks like this : button in row How to place a button in a…
I am recreating the basic telegram bot example from here, but I am having a slight problem. import logging from telegram.ext import Updater, CommandHandler, MessageHandler, Filters # Enable logging logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',level=logging.INFO) logger = logging.getLogger(__name__) #…