feat(Telegram Node): Add support to Keyboard Button Mini Apps (#9511)

This commit is contained in:
Stanley Yoshinori Takamatsu 2024-07-10 07:43:51 -03:00 committed by GitHub
parent 6107798516
commit 3a179439c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1289,6 +1289,26 @@ export class Telegram implements INodeType {
default: '',
description: 'HTTP or tg:// URL to be opened when button is pressed',
},
{
displayName: 'Web App',
name: 'web_app',
type: 'collection',
placeholder: 'Set Telegram Web App URL',
typeOptions: {
multipleValues: false,
},
default: {},
options: [
{
displayName: 'URL',
name: 'url',
type: 'string',
default: '',
description: 'An HTTPS URL of a Web App to be opened',
},
],
description: 'Launch the Telegram Web App',
},
],
},
],
@ -1365,6 +1385,26 @@ export class Telegram implements INodeType {
default: false,
description: "Whether the user's request_location",
},
{
displayName: 'Web App',
name: 'web_app',
type: 'collection',
placeholder: 'Set Telegram Web App URL',
typeOptions: {
multipleValues: false,
},
default: {},
options: [
{
displayName: 'URL',
name: 'url',
type: 'string',
default: '',
description: 'An HTTPS URL of a Web App to be opened',
},
],
description: 'Launch the Telegram Web App',
},
],
},
],