morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 596 forks source link

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

Open chillbert opened 9 months ago

chillbert commented 9 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 we have set the 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.