python-botogram/botogram

Add ability to edit messages

Closed this issue · 3 comments

The recent API change allowed to edit existing messages sent by bots. There should be some new methods to edit messages also in botogram.

Because of that, all the send* methods should also return the instance of the message you send.

message = chat.send("This message will destruct itself in 1 second")
time.sleep(1)
message.edit("*BOOM*")
message = chat.send_photo("myphoto.png", caption="A caption")
message.edit_caption("I'm changed!")

How I can download this feature?

It's not yet implemented.

😢