Closed Butanediol closed 2 years ago
Thank you for reporting the issue! Fixed in master, please try if it works.
Regenerating bindings is easy: edit API/TelegramAPIDefinition.yml
, then in API/
dir:
make
make install
to regenerate Swift bindings.
Sorry to bother.
Something similar happened to Poll.explanation
which also should be optional.
@Butanediol Thanks for the PR!
Sorry for the vague title of this issue.
I test my bot with a fresh token (a new bot) and it works fine. But when I switched to my old one, it always throws an weird error:
Based on my digging, it was a decoding error:
But how could it possibly run properly on one bot while generates error on another one?
So I compared their settings via @botfather. The only difference is Inline feedback. The failed bot is set to 100% and the other one is 0.
So maybe the parameter
chosenInlineResult.location
should be anOptional
?