Suggestion: Add a set of built-in functions to receive limited information from the device via Telegram bots
Description:
I propose to implement a mechanism that allows Telegram bots to request basic information about the device from the client (user). This is not a full-fledged programming language, but a limited set of functions that are called by the Telegram client with the explicit consent of the user.
Example of functions:
Device type (Android, iOS, Desktop, Web).
Local time of the device (without time zone transfer).
Device system language.
Telegram client version.
Battery level (if the user agrees).
Network status (for example, Internet connection).
How it works:
The bot sends a request to the user, for example:
"The bot requests the following information: local time, device type. Do you agree to transfer this data?"
The user confirms or rejects the request.
The Telegram client collects data and sends it to the bot.