When a bot sends a message containing ReplyKeyboardMarkup to a specific topic in a private chat, using message_thread_id, the reply keyboard is displayed only in the General Topic instead of the topic where the message was sent.
The message itself is correctly sent to the specified topic, but the ReplyKeyboardMarkup is not associated with that topic and appears only in the General Topic.
Steps to reproduce
Steps to reproduce:
Open Telegram Web 2.2 K in Google Chrome 154 on macOS.
Open a private chat with a bot that has Topics enabled.
Create/use a topic other than the General Topic.
Have the bot send a message to this topic using message_thread_id.
Include a ReplyKeyboardMarkup in the message.
Open/check the topic where the message was sent.
Actual result:
The message is displayed in the correct topic, but the ReplyKeyboardMarkup is displayed only in the General Topic.
Expected result:
The ReplyKeyboardMarkup should be displayed in the same topic as the message that contains it, i.e. the topic specified by message_thread_id.
Additional information:
The issue appears to be related specifically to ReplyKeyboardMarkup and topic handling in private chats with bots. The message_thread_id is respected for the message itself, but apparently not for the reply keyboard.
Device info
OS: macOS 27.0
Device: MacBook Pro M4 Pro
Browser: Google Chrome 154
Client: Telegram Web 2.2 K