telegram-bot Questions
2
Solved
To How to receive messages in group chats using telegram bot api, I find 2 solutions:
Make the bot admin of the group
Disable privacy
Unfortunately, if I do any of those, the Telegram bot will re...
Inseminate asked 4/5 at 11:6
15
Solved
"\n" and "\r\n", tested in text message sent by telegram bot, to create line break. Instead of showing line break, underline _ will appear after using them.
How I could printing line feed in tele...
Spermiogenesis asked 9/8, 2015 at 20:27
6
Solved
I am writing a telegram to the bot. I ran into such a problem. I need the bot to send a message (text) when clicked on which it was copied (as a token from @BotFather)
Mahmud asked 13/1, 2020 at 9:40
5
Solved
I am quite new in building bots so I created a very simple Telegram bot and it works great but can't figure out how to make the bot send messages every n minutes or n hours when /start_auto command...
Lentissimo asked 7/5, 2022 at 22:22
2
Solved
I'm trying to send the custom_emoji through Telegram API using MessageEntity object.
Here is how I've tried to do it:
const message = '🚀'
ctx.sendMessage({
text: message,
entities: [{
type: 'cu...
Ciscaucasia asked 14/11, 2022 at 21:18
5
Solved
I've made a telegram bot which logs critical errors in our telegram chat.
This bot has been used in another symfony application (4.4), and worked fine.
But now I'm trying to use it in a Symfony 3....
Chervil asked 15/4, 2020 at 8:23
4
The only documented way to use Telegram 3-rd party authorization is to use their script that is being provided at https://core.telegram.org/widgets/login
This script (as I digged) works in pretty ...
Gorgonzola asked 28/5, 2019 at 18:11
3
Is this possible to send message to phone number not @username using telegram bot?
If answer is No, I have to say I have telegram account without @username and several days ago I got message from ...
Moustache asked 21/12, 2015 at 9:26
6
Solved
Is it possible to check, via an API, whether somebody has deleted the Bot Chat in Telegram?
My test : Currently if a user deletes a chat, new messages will not stop sending to user.
Drying asked 8/2, 2016 at 6:32
2
Solved
We are using python API for telegram bots and need to be able to identify the user.
Is the chat_id unique for each user connecting the bot?
Can we trust the chat_id to be consistent? e.g same ch...
Peroration asked 15/1, 2020 at 9:3
5
Solved
I have telegram-bot code on php, and reply messages sending by replyWithMessage method.
All command here:
$this->replyWithMessage(['text' => $item['title']. "\n\n" . $url]);
How can i a...
Berlyn asked 16/6, 2016 at 13:35
2
I have working url to mp3, and I am trying to send audio to Telegram by this url. It works from time to time, but most of time it gives error
"A request to the Telegram API was unsuccessful. The ...
Win asked 3/8, 2017 at 18:42
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...
Linzer asked 12/9, 2021 at 23:1
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...
Genteel asked 15/7, 2018 at 18:52
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
I want to create a Robot in Telegram. After searching, I found telegram.bot in a Nuget Package.
But I'm having trouble sending a photo. The function definition is like
Bot.SendPhoto(int channelI...
Nanci asked 17/11, 2015 at 13:14
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
2
Solved
I've tried the following:
curl -F name=document -F upload=@<path_to_the_file> \
-H "Content-Type:multipart/form-data" \
"https://api.telegram.org/bot<token>/sendDocument?chat_id=&l...
Bulwerlytton asked 22/11, 2015 at 9:50
4
I need to send txt File using TelegramBot API .
I already tried https://api.telegram.org/botMYT0KEN/sendDocument?chat_id=569502265&document=/Users/users/Desktop/file.txt
and have issue :
{...
Divulgence asked 2/4, 2019 at 8:22
3
Solved
Which video format can be used in Telegram Bot API sendVideo method?
On the page they only mention "H.264/MPEG-4 AVC"
So if I convert a video (without sound) with
ffmpeg -i input -an -c:v libx26...
Plexus asked 1/8, 2016 at 15:43
© 2022 - 2024 — McMap. All rights reserved.