Probably not. It seems to me that Telegram doesn't care much about this type of data access and it probably won't cause any problems especially if you are using it for your Telegram projects. Another of their services, telegra.ph, has a public API where anyone can upload an unlimited number of media files.