ba0f3 / telebot.nim

Async Telegram Bot API Client implement in @Nim-Lang
MIT License
165 stars 24 forks source link

Getting id of just sent message #48

Closed Michal-Szczepaniak closed 4 years ago

Michal-Szczepaniak commented 4 years ago

I want to get id of message i just sent and then edit it. How can i do that? For editing message i guess i should use editMessageText but bot.send is discarded in every example so i'm confused

ba0f3 commented 4 years ago

send will returns an instance of sent Message

Michal-Szczepaniak commented 4 years ago

ahh thanks