Telegram for Android 13.2.2 (7303), Samsung Galaxy S10+, Android 12
In a bot chat with Threaded Mode (topics in private chats), a message written inside an existing topic from the Android app reaches the bot with NO topic information. The same message written from Telegram Desktop 7.4.4 or Telegram Web 13.0.1 A arrives with the correct message_thread_id. It happens for text and for photos/files. The message also shows under "All" instead of inside the topic.
This is not report 66439 ("Bot topics created on Android are empty", fixed in 13.1.0), which is about the first message after "New Thread / New Chat". Here the topics already exist (the bot made them with createForumTopic) and the user writes inside one.
STEPS
Bot with Threaded Mode on in @BotFather. The bot creates a topic with createForumTopic and sends a welcome message into it with message_thread_id.
On Android 13.2.2 open the bot chat and open that topic from the tab bar.
Write a text message (or send a photo) inside the topic.
Look at the update the bot receives.
EXPECTED
message_thread_id = <topic id> and is_topic_message = true, as from Desktop/Web.
ACTUAL
For a text message the update has only: message_id, from, chat, date, text. message_thread_id, is_topic_message, reply_to_message and direct_messages_topic are all missing, so nothing identifies the topic. Photos/files: same, no message_thread_id.
NOTES
Same account, bot and topic: Desktop and Web are fine, only Android fails.
A photo sent from Android inside a topic is shown under "All"; back in the topic its thumbnail shows a download arrow.
In earlier tests text messages from Android in the same topic still carried message_thread_id (only photos/files were missing it). Now text is missing it too.
Similar symptom reported by other bot developers: NousResearch/hermes-agent issue 109527.
IMPACT
Bots using topics in private chats cannot route the user's messages to the right conversation.
Steps to reproduce
Bot with Threaded Mode on; the bot creates a topic with createForumTopic and sends a welcome message into it.
On Android 13.2.2 open the bot chat and open that topic from the tab bar.
Write a text message (or send a photo) inside the topic.
Look at the update the bot receives: it has no message_thread_id.
Reproduced on Telegram for Android 13.4.3 (7403), in an existing bot-created private-chat topic.
A controlled three-message test in the same existing topic produced: A. Ordinary text: message_thread_id=null, is_topic_message=null, no reply target. Routed to the default conversation. B. Explicit Reply to an existing document message independently verified as belonging to that topic: the correct message_thread_id and is_topic_message=true were received. Routed to the intended topic. C. After clearing Reply, ordinary text again: message_thread_id=null, is_topic_message=null, no reply target. Routed to the default conversation again.
These fields were observed on the receiving python-telegram-bot 22.8 Message object before Hermes topic normalization. They are SDK-level observations, not a captured raw HTTP JSON update or native Android outgoing request. No present topic ID was discarded by the observed normalization step.
The Android UI showed the intended topic selected. This concerns ordinary messages in an existing bot-created topic, not the first message in a newly created topic. Explicit Reply does not restore subsequent ordinary sending.
Expected: ordinary text in the selected existing topic should retain its topic address without requiring explicit Reply. Impact: conversations and answers are processed in the wrong context, making native Android topic-based work unreliable.
Related proposed source changes, not verified fixes: TelegramMessenger/Telegram-Android PR #2316 and #2317. Both were open/unmerged when checked. Their effectiveness on this device has not been verified. Please investigate and advise whether an official fixed build or a secure developer-diagnostic procedure is available.
No account/bot/chat/message identifiers, business messages, screenshots, credentials or original logs are included in this report.
A controlled three-message test in the same existing topic produced:
A. Ordinary text: message_thread_id=null, is_topic_message=null, no reply target. Routed to the default conversation.
B. Explicit Reply to an existing document message independently verified as belonging to that topic: the correct message_thread_id and is_topic_message=true were received. Routed to the intended topic.
C. After clearing Reply, ordinary text again: message_thread_id=null, is_topic_message=null, no reply target. Routed to the default conversation again.
These fields were observed on the receiving python-telegram-bot 22.8 Message object before Hermes topic normalization. They are SDK-level observations, not a captured raw HTTP JSON update or native Android outgoing request. No present topic ID was discarded by the observed normalization step.
The Android UI showed the intended topic selected. This concerns ordinary messages in an existing bot-created topic, not the first message in a newly created topic. Explicit Reply does not restore subsequent ordinary sending.
Expected: ordinary text in the selected existing topic should retain its topic address without requiring explicit Reply.
Impact: conversations and answers are processed in the wrong context, making native Android topic-based work unreliable.
Related proposed source changes, not verified fixes: TelegramMessenger/Telegram-Android PR #2316 and #2317. Both were open/unmerged when checked. Their effectiveness on this device has not been verified. Please investigate and advise whether an official fixed build or a secure developer-diagnostic procedure is available.
No account/bot/chat/message identifiers, business messages, screenshots, credentials or original logs are included in this report.