UnigramDev/Unigram/ephemeral-command-null-caption • ecb8bef • 1 files, +1/-1
Fix crash when sending non-text content with ephemeral bot commands
CreateSendMessage maps anything that is not an InputMessageText to a null
caption, then dereferenced it unconditionally. Sending a sticker (or any
other media) in a chat where HasEphemeralBotCommands is set crashed with a
NullReferenceException.
Reported by crash telemetry on 12.9.0.0.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
#unigram
Post #20537
146
- 🫡 2