Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions packages/nodes-base/nodes/Telegram/Telegram.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,26 @@ export class Telegram implements INodeType {
default: '',
description: 'HTTP or tg:https:// 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',
},
],
},
],
Expand Down Expand Up @@ -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',
},
],
},
],
Expand Down
Loading