Ajaxy / telegram-tt

Telegram Web A, GPL v3
https://web.telegram.org/a
GNU General Public License v3.0
2.2k stars 462 forks source link

[Mini Apps] Add more or custom params to allow on the iframe of the twa #344

Open chillbert opened 4 months ago

chillbert commented 4 months ago

Is your feature request related to a problem? Please describe. I would like to set the allow params on the iframe. At the moment the fixed params for allow are the following:

allow="camera; microphone; geolocation;" Describe the solution you'd like Pass the params for allow and sandbox in a setting object or on the creation of the bot in botfather - other way would be add other params directly hard-coded like the three existing one mentioned on this line.

Additional context This could help to use the full potential of web apis.

Ajaxy commented 4 months ago

Which exact permissions do you need and what for?