'Why Telegram Message object has steacker field instead photos

When I send a file to the bot, I get a message object with a staker field, on webhook

Then i try to get file path by getFile method. And i get the same file path for different images. Why message object doesn't contain photos ? Thnx



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source