163 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
583
views
node-telegram-bot-api callback_query doesn't work
I decided to try to write a bot in NodeJS, I got to the point of processing callback_query, but when I click on the inline keyboard, the bot does not catch this event.
Module version:
"node-...
0
votes
1
answer
476
views
How can I add menu button in telegram bot like the follow picture?
When the redlined button is highlighted, the button below the input box appears. I don't know what it's called, so I don't know what to search for
I expect to know how it's set up or what it's called ...
0
votes
1
answer
509
views
Not getting an update with callback_query when user presses an inline button (Telegram webhook)
Using node-telegram-bot-api. I have a Webhook that works properly - i get updates when messages are sent, but no update is sent when the user presses a button in an inline keyboard.
class ...
0
votes
1
answer
330
views
Store user data in telegram bot conversation
I want to store user/conversation specific data for a telegram bot. Any ideas on how to do this? There is some sensitive data that only the user should have access to so I'm hesitant to store it in my ...
0
votes
2
answers
2k
views
PHONE_CODE_EXPIRED (caused by auth.SignIn) Error during authorization using node package 'telegram'
when i put apiId , apiHash , mobile nummber through the bot then i received phone_code of my telegram app, when i enter phone_code in bot then i received
code:
const author = async () =&...
0
votes
1
answer
878
views
How to get message reactions updates using node-telegram-bot-api
I wanna make a telegram bot game where bot send a message to group then other members can make reactions on this message. Then I enlist those members data and start the game for those members only.
...
4
votes
4
answers
6k
views
Why Telegram Web App API version is 6.0 and can't be changed, while to access features I need >6.1
I am building Telegram Web App (Mini App). I initiated Telegram Web App using the official script published on their website: https://core.telegram.org/bots/webapps#initializing-mini-apps
I ...
0
votes
1
answer
77
views
Making a bot that checks to see if a message replied to is a photograph (node-telegram-bot-api 2024)
So I am making a simple telegram bot that replies with a message if the message replied to is a photograph, but the property of the node-telegram-bot library of the "message" object, ...
1
vote
2
answers
1k
views
How to use `setMessageReaction`? Getting error: "ETELEGRAM: 400 Bad Request: message to react not found"
I am using the node-telegram-bot API and trying to set a reaction to a message in the channel via the setMessageReaction method:
bot.setMessageReaction('@channel_name', message_id, [
{type: 'emoji'...
0
votes
0
answers
169
views
Cannot read properties of undefined (reading 'enter')
please tell me why the scenes in telegraf.js stopped working for me. Yesterday everything worked fine, but today they seem to have been removed from the framework Telegraf.js
const nameScene = new ...
0
votes
1
answer
881
views
Conversation is not working without any errors in grammyjs
I have a problem with Conversation. I wrote the following code in Conversation:
if (ctx.session.in_conversation == true) return;
conversation.session.in_conversation = true;
await ctx....
1
vote
1
answer
3k
views
How to send transparent png with sendphoto in telegram bot?
Telegram always adds the white background to my transparent .png images when I send them via sendphoto. But how to keep them transparent as the source?
0
votes
1
answer
2k
views
How can i get the chat invite link through which a member joins in node telegram bot api #chatmemberupdated
I am trying to make a telegram bot and i want the chat invite link through which the member joins the group in telegram. I am using the node telegram bot api in NodeJS and while using the "...
2
votes
2
answers
2k
views
How to send large files to user? node-telegram-bot-api
bot.sendDocument(id, 'test.zip');
I have a 1.5GB file. But it is not sent to the user, it gives the following error:
(Unhandled rejection Error: ETELEGRAM: 413 Request Entity Too Large)
I know that ...
1
vote
0
answers
206
views
User database logic in node-telegram-bot-api
I am making tg bot with Firebase for students of our college, which will send notifications from Learning Management System, when our homework ready-to-do. It was pretty easy to make parser for LMS ...