Telegram mini app block clipboard api

Godot Version

v4.3.stable.official [77dcf97d8]

Question

telegram mini app block clipboard api in web export below is my code

var clipboard_text = str(DisplayServer.clipboard_get())
inputWallet.text = clipboard_text

this works fine in mobile browser but when I open in telegram then it did not work

I don’t think Telegram is able to access a users clipboard directly like that, and I think different browsers allow/disallow depending on security settings which you may or may not be able to change. Godot can’t do anything about that. Does the Telegram mini app have any API calls that read the clip board for you? Try using those.

For instance a quick search: