ba0f3 / telebot.nim

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

Add default arg for entity argument in sendMessage proc to fix backward compatibility #54

Closed keshon closed 3 years ago

keshon commented 3 years ago

Hi! I noticed that with recent API bump to 5.0 the backward compatibility was lost due sendMessage proc missing default value for newly introduced argument entities. I added empty seq and it seems work fine now.

ba0f3 commented 3 years ago

oh yes, my bad. I will fix it soon