rubenlagus / TelegramBots

Java library to create bots using Telegram Bots API
https://telegram.me/JavaBotsApi
MIT License
4.68k stars 1.18k forks source link

Using Replies wiki example is not working #641

Closed Panthro closed 11 months ago

Panthro commented 5 years ago

I was trying to follow: https://github.com/rubenlagus/TelegramBots/wiki/Using-Replies

sender.forceReply does not exist.

Should it be silent?

addo47 commented 5 years ago

Thanks for opening up this issue @Panthro. Yes, that should be silent. sender is meant to be a 1-1 mapping of the DefaultAbsSender methods (the ones you can call directly from the bot). The silent object is more the succinct usage of the methods without the clutter.

A pull request is on its way. :)