You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bot does not read or receive Telegram bot messages, even though the setting clientConfig.telegram.shouldIgnoreBotMessages is set to false.
To Reproduce
Configure the bot with the following settings:
clientConfig: {telegram: {shouldIgnoreBotMessages: false,},}2. Start the bot using the pnpm i && pnpm start command.3. Send a message from another Telegram bot to the configured bot.4. Observe that the bot does not process or respond to the message.
Expected behavior
The bot should receive and process messages from other Telegram bots when shouldIgnoreBotMessages is explicitly set to false.
Screenshots
Additional context
Logs during startup and execution indicate no specific errors regarding message handling:
• Initialization appears successful with services like browser, image_description, and telegram being registered and started.
• The bot successfully launches and binds to the correct Telegram username .
• However, the bot does not respond to messages from other bots
These issues might suggest:
1. The Telegram client is mishandling bot-specific messages despite the configuration.
2. A bug in how the message handler processes bot-originating messages.
Proposed steps for debugging:
1. Verify if the Telegram client is correctly handling shouldIgnoreBotMessages.
2. Debug the message handler to confirm it processes messages from other bots.
3. Ensure the bot’s agent is correctly linked to the Telegram service.
4. Test with verbose logging enabled for better insight into incoming message handling.
The text was updated successfully, but these errors were encountered:
Hello @MbBrainz! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!
I also noticed that, and as far my debug went, it not trigger the bot.on("message" Handler. so, this config will not take effect. I`m wondering if is a config from telegram bot or something else...
That's not possible, bots can never read messages from other bots.
You'll have to let the second both trigger on something else. You could for example read it from the database or implement another way of sending 'events' to the second bot.
The bots only can receive messages from other bots in channels. Not in groups nor private chats.
Describe the bug
The bot does not read or receive Telegram bot messages, even though the setting
clientConfig.telegram.shouldIgnoreBotMessages
is set tofalse
.To Reproduce
Expected behavior
The bot should receive and process messages from other Telegram bots when shouldIgnoreBotMessages is explicitly set to false.
Screenshots
Additional context
Logs during startup and execution indicate no specific errors regarding message handling:
• Initialization appears successful with services like browser, image_description, and telegram being registered and started.
• The bot successfully launches and binds to the correct Telegram username .
• However, the bot does not respond to messages from other bots
These issues might suggest:
1. The Telegram client is mishandling bot-specific messages despite the configuration.
2. A bug in how the message handler processes bot-originating messages.
Logs for reference:
• Setting initialization:
Proposed steps for debugging:
1. Verify if the Telegram client is correctly handling shouldIgnoreBotMessages.
2. Debug the message handler to confirm it processes messages from other bots.
3. Ensure the bot’s agent is correctly linked to the Telegram service.
4. Test with verbose logging enabled for better insight into incoming message handling.
The text was updated successfully, but these errors were encountered: