Should 'reply_markup' field exist in simple text message ? #248
-
Hello, and Thanks to all contributors! Line 183 in d2bf07f Line 150 in d2bf07f {"chat_id":"1","text":"Hello","reply_markup":""} .Is it right behaviour ? Does it follow the Telegram bot API doc https://core.telegram.org/bots/api#message where this field is described as Optional ? |
Beta Was this translation helpful? Give feedback.
Answered by
llnulldisk
Dec 22, 2022
Replies: 1 comment
-
Thank you for the message. No, that is not the correct behaviour. The empty field is just unnecessary. I'm surprised I didn't see that before either. I created a pull request that should fix it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kolyande
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for the message. No, that is not the correct behaviour. The empty field is just unnecessary. I'm surprised I didn't see that before either. I created a pull request that should fix it.