telegram Questions

5

Hi I have a program in python that generates results every one hour. The result can be of anything.This program will run in local machine or in the virtual private network. I have two requirements...
Lody asked 27/10, 2018 at 3:32

3

Solved

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 'telegr...

2

Solved

Can a telegram bot read/access a telegram channel that neither I or the bot is administrator of? I know that up to last November it was not possible, but I have heard some people have done this, ...
Another asked 8/3, 2017 at 12:58

4

Solved

I am making a database in which my algorithm only accepts queries from users with telegram id length of 9. user_id: 123456789; length = user_id.length; display(length); OUTPUT: 9 Are there tele...

21

I've been using telegram_bot, and trying to get groupChat id to send notifications to group chat, but don't know which methods I have to use for it. For getting chat id I use to message.chat.id wh...
Peer asked 6/9, 2015 at 12:58

4

Telegram bot has a file size limit for sending in 50MB. I need to send large files. Is there any way around this? I know about this project https://github.com/pwrtelegram/pwrtelegram but I could...
Jesuitism asked 12/9, 2018 at 5:47

4

Hi can't figure out how to solve this problem, so any help will be really appreciated. I'm subscribed to a private channel. This channel has no username and I don't have the invite link (the admin ...
Activist asked 11/7, 2020 at 11:9

2

I've a button , it's supposed to return the ask_wikipedia function , so I used CallbackQueryHandler but when i want to call ask_wikipedia function i recive an attribute error ! Why? How can i fix i...
Parallelize asked 10/3, 2021 at 12:17

3

Solved

So I need to read all new messages of one specific channel that I'm in (not as an admin). I searched for different client apis (.NET, PHP, nodejs) but none of them helped. Do you have any idea how...
Decathlon asked 22/10, 2016 at 14:15

4

Solved

I want to send an message via the Telegram API in a <pre> block or ``` (HTML or markdown parse mode, I have no preference). The text is a long string with some line breaks. To make it easy t...
Femmine asked 25/4, 2018 at 9:34

2

If I have a bot in a group, and I want to make the bot respond only if it was mentioned in the message, is there any way to achieve this?
Jew asked 10/12, 2018 at 10:29

5

Solved

I was wondering if I could send a message with my bot on telegram bot api, to multiple chat_id, but I cant figure it out. that's totally because of telegram apis are so hard to understand. I have u...
Anteater asked 5/9, 2015 at 22:37

3

Solved

I'm working on telethon download_media and _download_document methods for downloading media from telegram. My code is something like this: from telethon import TelegramClient api_id = 12345 api_ha...
Try asked 8/2, 2021 at 11:5

2

Solved

Is there a limit to the number of bots a user can create on telegram? I'm considering "selling custom bots" to people as a service, and would like to avoid having my clients handle techni...
Forficate asked 13/10, 2017 at 9:14

3

I want to create a Bot that automatically keeps posting in a Telegram channel.I am using Node.js. I am using Telegraf.js wrapper for Telegram API. You may even suggest any other suitable wrapper fo...
Demit asked 25/11, 2018 at 13:41

2

I need to read the messages of some public channels in the telegram application, I want to store telegram channle text in a text file. I want use python. I try with telethon but it's so complicated...
Regan asked 3/3, 2020 at 12:48

3

Solved

When developing bot for Telegram is there any way to get user timezone? Date field in Message object contains UNIX timestamp only. I want to create bot sending some messages an fixed time of day to...
Birgitbirgitta asked 26/4, 2016 at 17:8

4

Solved

I'm Creating A Telegram Bot Using Python-Telegram-Bot I Know That update.message.chat_id Returns The User's Chat ID, But I Need To Know How To Get User's Username Or First Name And/Or Last Name. ...
Nubianubian asked 6/12, 2016 at 2:16

1

I'm using telegram bot api for implementing an inline bot. For sending query result to the user, I'm using answerInlineQuery method in this way. This is just an example for showing a photo that exi...
Jaeger asked 19/7, 2018 at 17:11

2

I'm developing a Telegram bot and I have a question about sendvoice API to send voice (audio) messages. I push a OGG file converting from a MP3 source file, using ffmpeg for conversion, with the c...
Farmann asked 4/6, 2019 at 17:2

11

Solved

I have the following code in Python to send a message to myself from a bot. import requests token = '123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHI' method = 'sendMessage' myuserid = 1949275XX resp...
Greegree asked 15/12, 2016 at 23:10

4

Solved

I work with python-telegram-bot and try to build a system of nested menus as BotFather bot does. For instance, you have a general bot menu where you can choose "Edit Bot" and get the new corres...
Ellie asked 1/7, 2018 at 17:12

3

Solved

My bot sends a pick with 2 inline callback buttons: like / dislike. After a user clicks on like or dislike button, I want this inline keyboard to disappear. This is how I make a dislike button ...
Sphenic asked 23/2, 2018 at 13:56

5

Solved

When I send a new link on Telegram, it automatically reads Open Graph data of the URL and generates a preview of the page. When the Open Graph data of the same page changes, though, Telegram doesn...
Leathaleather asked 10/1, 2016 at 16:32

2

I successfully open a web app using an in-line button from my Telegram bot. When the "work" is complete in the web app, it persists the data to a DB via an API call and then closes itself...
Footrope asked 5/9, 2022 at 23:7

© 2022 - 2024 — McMap. All rights reserved.