mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(Telegram Node): Add support to Keyboard Button Mini Apps (#9511)
This commit is contained in:
committed by
GitHub
parent
6107798516
commit
3a179439c7
@@ -1289,6 +1289,26 @@ export class Telegram implements INodeType {
|
|||||||
default: '',
|
default: '',
|
||||||
description: 'HTTP or tg:// URL to be opened when button is pressed',
|
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,
|
default: false,
|
||||||
description: "Whether the user's request_location",
|
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',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user