mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-09-06 00:18:01 +00:00
A remote wheel render takes several seconds, during which /wheelofnames looked unresponsive. Post "Spinning..." first, then let the result take its place: the GIF replaces it (send-then-delete, since Telegram cannot edit text into media) and any render or upload failure edits the same message into the plain text winner. A rejected edit still falls back to a fresh reply so the chat never stays stuck on "Spinning...". No placeholder when no renderer is configured — the winner reply is already immediate there and would only flash. Adds SendText/EditText/DeleteMessage to chathelper; Reply now delegates to SendText.