Replies: 1 comment 1 reply
-
I don't think we'll ever implement something like this. Besides, it should be perfectly fine to implement this outside of P.S. yaml is a terrible format, please, don't use it[1][2][3][4][5] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, making simple Question/Answer telegram bots with teloxide is pretty easy but hard at the same time. We need to write a lot of code and understand a lot of code to make the bot answer with
InputMediaPhoto
andanswer_media_group
, for example. Also, when it gets bigger, it looks terrible - tone of ugly code+text (of course, we can move it to some separate files but still).Possible solution: I think it would be nice to have the option specify Q/A inside simple .yaml or .json file that will be parsed and then "just work". For example:
Of course, something like that can be implemented outside
teloxide
, but maybe this is somethingteloxide
will like and develop/integrate in the future?Beta Was this translation helpful? Give feedback.
All reactions