Ajaxy / telegram-tt

Telegram Web A, GPL v3

Home Page:https://web.telegram.org/a

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

chillbert opened this issue · comments

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.

Which exact permissions do you need and what for?