From 9bfeb36ef54ac97346a168020d1e3ed831c6f5a7 Mon Sep 17 00:00:00 2001 From: Marco Boretto Date: Mon, 25 Sep 2023 08:35:26 +0200 Subject: [PATCH] Add Cloud Storage example --- src/App.vue | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 5b70fc3..f9a1ce3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -48,7 +48,7 @@

Bot API version available

version: {{ TWA.version }}
- isVersionAtLeast('6.4'): {{ TWA.isVersionAtLeast('6.4') }}
+ isVersionAtLeast('6.9'): {{ TWA.isVersionAtLeast('6.9') }}

Haptic Feedback

+ +
@@ -105,6 +116,7 @@ export default { return { style_selected: 'medium', clipboard: null, + cloud_storage_keys: null, }; }, created() { @@ -251,6 +263,13 @@ export default { this.TWA.showPopup(par); }, + processKeys(error, data) { + if (error) { + this.TWA.showAlert(error); + return; + } + this.cloud_storage_keys = data; + } } }