Closed nmlorg closed 4 months ago
Option 5: Send the image as one message, then the announcement as a second message (always using sendMessage
). No more caption limits, no more downgrading to plain text, no more flakiness. Obviously this would mean daily announcements would [sometimes] be two separate messages now.
Option 6: Just turn the images off (at least if they're not manually set).
The photo isn't super useful to me. I would turn it off if it allowed for more characters for events lol
Just ran into an edge case related to #76: A message was sent containing 10 events, which came out as 948 rendered characters and so was sent as a photo + caption. During the day, an 11th event was added, pushing the caption to 1072 rendered characters. The bot sent its "Updated:" message, then failed the
editMessageCaption
call, and dutifully moved on — but then sent another "Updated:" message every hour.There's no way to convert a
sendPhoto
message to asendMessage
message, so I think the options are:deleteMessage
the "Updated:" message).All of these seem pretty poor. I guess 2 might be the best of the worst...