When I copyMessage a message with a restriction_reason, the message appears in the General topic, when viewed using @TAndroidAPK or @tgX_log applications.
It appears in the correct topic only if viewed using web.telegram.org/A application.
Steps to reproduce
Setup a bot which forwards messages from users to a ForumTopic chat, using copyMessage by providing the message_thread_id. Example Code for setup.edit the line numbers 8 and 9 with appropriate suitable values.
Make a user forward a message with a restriction_reason to the bot.
Observe the output of the copyMessage using different Telegram Applications.
Due to this bug, I am unable to photos / videos in the Bug Platform
Expected Result: The message should be forwarded to the correct topic identifier.
Actual Result ❌ In @TAndroidAPK the message is visible in the General Topic. The screenshot was taken using a different camera because it is not possible to take screenshot of a message with a restriction_reason ✅ In web.telegram.org/a, the message is visible in the correct topic, as expected.
Device info
Telegram Android 10.11.1 (46639), Google Pixel 6a, SDK 34
Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.