atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 217 forks source link

`ForceReply#force_reply` type and optionality #283

Closed AlexWayfer closed 11 months ago

AlexWayfer commented 1 year ago

https://core.telegram.org/bots/api#forcereply

I see, that force_reply is not optional argument for ForceReply (I'm kind of mad even for this naming).

But it's type is True, so it's not Boolean: https://github.com/atipugin/telegram-bot-ruby/blob/02de716/lib/telegram/bot/types/force_reply.rb#L7

The library may not require it, send true always, but I see difficulties with dump_type_attributes Rake task.

What do you think?

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.