If somebody else already has programmed something, why even bother

with that?

For example, the bot API requires a multipart/form-data post if you are submitting files, but in all other cases you can use application/json, do you really want to worry about all that stuff or do you prefer to keep yourself busy with the logic of your application?

In many cases, specially when writing code for companies, you can save yourself a whole lotta time by using tools that were developed by other people while at the same time you provide a much stabler product

5 ответов

27 просмотров

That's totally fine. But I am very confident that if you'd manage a complex bot, you wouldn't hand-craft all the api calls yourself.

What do you mean by "hand-craft all the API calls"? Like, shouldn't you specify the method and all the parameters you need using a framework too?

I don't think I have ever made a so complex bot, but I have made many and I've always done like this, because I was learning and I learned this, so I kept using this. I probably should try making a bot with a framework and find out the difference I guess

Yes. Maybe try Telegraf.

Thanks, I'll give it a try

Похожие вопросы

Карта сайта