mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
feat(Telegram Node): Add support to Keyboard Button Mini Apps (#9511)
This commit is contained in:
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',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue