fix(channel): replace invalid Telegram ACK reaction emojis (#1477)
Replace 🙌 and 💪 with 🔥 and 👍 in the TELEGRAM_ACK_REACTIONS pool. The removed emojis are not in Telegram's allowed reaction set, causing ~40% of ACK reactions to fail with REACTION_INVALID (400 Bad Request). All replacements verified against the Telegram Bot API setMessageReaction endpoint in a live private chat. Closes #1475
This commit is contained in:
parent
52b05a7c34
commit
f2abf9ac2f
@ -16,7 +16,7 @@ const TELEGRAM_MAX_MESSAGE_LENGTH: usize = 4096;
|
||||
/// Reserve space for continuation markers added by send_text_chunks:
|
||||
/// worst case is "(continued)\n\n" + chunk + "\n\n(continues...)" = 30 extra chars
|
||||
const TELEGRAM_CONTINUATION_OVERHEAD: usize = 30;
|
||||
const TELEGRAM_ACK_REACTIONS: &[&str] = &["⚡️", "🙌", "💪", "👌", "👀"];
|
||||
const TELEGRAM_ACK_REACTIONS: &[&str] = &["⚡️", "👌", "👀", "🔥", "👍"];
|
||||
|
||||
/// Metadata for an incoming document or photo attachment.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user