How to create a three dashes menu on a Telegram bot? – Telegram API
How could I create a three-dashes menus on a Telegram bot, similarly to what they do to the Jobs bot? It should be similar to this: How do we call this kind of menu?
How could I create a three-dashes menus on a Telegram bot, similarly to what they do to the Jobs bot? It should be similar to this: How do we call this kind of menu?
I am trying to create a telegram bot. The code i am trying to execute is : from telegram import ParseMode But it is throwing up this error: ImportError: cannot import name 'ParseMode' from 'telegram' (C:ProgramDataAnaconda3libsite-packagestelegram__init__.py) Could you please advise…
How can I download a file which has been sent by a user in chat? For example I need to download the file moonloader.log from Telegram to my local path C:text-foldermoonloader.log and read it. Code so far def checkFile(path): if…
I have a telegram bot that sends a message to a channel. I want to implement the button attached to this post (inline keyboard button), but I also want to see the comment button. When you add an inline keyboard,…
In order for me to download an image published on a Telegram channel, I need this path: var contents = JSON.parse(e.postData.contents); Logger.log(contents.channel_post.photo); And the answer is: [{ "file_id":"AAAAA", "file_size":11111, "width":253, "height":320 },{ "file_id":"BBBBB", "file_size":22222, "width":632, "height":800 },{ "file_id":"CCCCC", "file_size":44444, "width":1400,…
Ok, I know this is a newbie question but I've been stuck for a while now. I just started using pythonTelegarmapi but I have no idea how to get message_id of a message. How do i do it? import os…
I'm trying to get my API id/hash to create some bots for telegram , but in the API developmen tools section , when I enter my bot informations( name , shortname...) and click on create to get the results ,…
I have a problem using telebot API in python. If the user sends a message to the bot and waits for the response and at the same time he blocks the bot. I get this error and the bot will…
Recently I've developed a telegram-bot which able to retrieve Fed-Rate Bar graph from CME group website. (https://www.cmegroup.com/trading/interest-rates/countdown-to-fomc.html) The bot runs daily (via run_daily) at every 5:25 PM HKT and pushs 10 images (media group limitation) to my bot. However, I've…
I'm working on an telegram anti-flood bot, so I created a simple one, save the text and sender ID in a JSON when a message is sent, when another message is sent, check if both are the same and if…