mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Add action to all operations on all nodes (#3655)
* 👕 Add `action` to `INodePropertyOptions` * 👕 Apply `node-param-operation-option-without-action` * ✏️ Fix add/remove phrasing * ✏️ Fix email template phrasing * ✏️ Fix add/remove phrasing * ✏️ Fix custom fields phrasing * ✏️ Fix job report phrasing * ✏️ Fix query phrasing * ✏️ Various phrasing fixes * ✏️ Fix final phrasings * ✏️ Remove `conversation` * ✏️ Fix plural
This commit is contained in:
@@ -115,31 +115,37 @@ export class Telegram implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get up to date information about a chat',
|
||||
action: 'Get a chat',
|
||||
},
|
||||
{
|
||||
name: 'Get Administrators',
|
||||
value: 'administrators',
|
||||
description: 'Get the Administrators of a chat',
|
||||
action: 'Get all administrators in a chat',
|
||||
},
|
||||
{
|
||||
name: 'Get Member',
|
||||
value: 'member',
|
||||
description: 'Get the member of a chat',
|
||||
action: 'Get a member in a chat',
|
||||
},
|
||||
{
|
||||
name: 'Leave',
|
||||
value: 'leave',
|
||||
description: 'Leave a group, supergroup or channel',
|
||||
action: 'Leave a chat',
|
||||
},
|
||||
{
|
||||
name: 'Set Description',
|
||||
value: 'setDescription',
|
||||
description: 'Set the description of a chat',
|
||||
action: 'Set description on a chat',
|
||||
},
|
||||
{
|
||||
name: 'Set Title',
|
||||
value: 'setTitle',
|
||||
description: 'Set the title of a chat',
|
||||
action: 'Set a title on a chat',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
@@ -162,11 +168,13 @@ export class Telegram implements INodeType {
|
||||
name: 'Answer Query',
|
||||
value: 'answerQuery',
|
||||
description: 'Send answer to callback query sent from inline keyboard',
|
||||
action: 'Answer Query a callback',
|
||||
},
|
||||
{
|
||||
name: 'Answer Inline Query',
|
||||
value: 'answerInlineQuery',
|
||||
description: 'Send answer to callback query sent from inline bot',
|
||||
action: 'Answer an inline query callback',
|
||||
},
|
||||
],
|
||||
default: 'answerQuery',
|
||||
@@ -188,6 +196,7 @@ export class Telegram implements INodeType {
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Get a file',
|
||||
action: 'Get a file',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
@@ -210,71 +219,85 @@ export class Telegram implements INodeType {
|
||||
name: 'Delete Chat Message',
|
||||
value: 'deleteMessage',
|
||||
description: 'Delete a chat message',
|
||||
action: 'Delete a chat message',
|
||||
},
|
||||
{
|
||||
name: 'Edit Message Text',
|
||||
value: 'editMessageText',
|
||||
description: 'Edit a text message',
|
||||
action: 'Edit a test message',
|
||||
},
|
||||
{
|
||||
name: 'Pin Chat Message',
|
||||
value: 'pinChatMessage',
|
||||
description: 'Pin a chat message',
|
||||
action: 'Pin a chat message',
|
||||
},
|
||||
{
|
||||
name: 'Send Animation',
|
||||
value: 'sendAnimation',
|
||||
description: 'Send an animated file',
|
||||
action: 'Send an animated file',
|
||||
},
|
||||
{
|
||||
name: 'Send Audio',
|
||||
value: 'sendAudio',
|
||||
description: 'Send a audio file',
|
||||
action: 'Send an audio file',
|
||||
},
|
||||
{
|
||||
name: 'Send Chat Action',
|
||||
value: 'sendChatAction',
|
||||
description: 'Send a chat action',
|
||||
action: 'Send a chat action',
|
||||
},
|
||||
{
|
||||
name: 'Send Document',
|
||||
value: 'sendDocument',
|
||||
description: 'Send a document',
|
||||
action: 'Send a document',
|
||||
},
|
||||
{
|
||||
name: 'Send Location',
|
||||
value: 'sendLocation',
|
||||
description: 'Send a location',
|
||||
action: 'Send a location',
|
||||
},
|
||||
{
|
||||
name: 'Send Media Group',
|
||||
value: 'sendMediaGroup',
|
||||
description: 'Send group of photos or videos to album',
|
||||
action: 'Send a media group message',
|
||||
},
|
||||
{
|
||||
name: 'Send Message',
|
||||
value: 'sendMessage',
|
||||
description: 'Send a text message',
|
||||
action: 'Send a text message',
|
||||
},
|
||||
{
|
||||
name: 'Send Photo',
|
||||
value: 'sendPhoto',
|
||||
description: 'Send a photo',
|
||||
action: 'Send a photo message',
|
||||
},
|
||||
{
|
||||
name: 'Send Sticker',
|
||||
value: 'sendSticker',
|
||||
description: 'Send a sticker',
|
||||
action: 'Send a sticker',
|
||||
},
|
||||
{
|
||||
name: 'Send Video',
|
||||
value: 'sendVideo',
|
||||
description: 'Send a video',
|
||||
action: 'Send a video',
|
||||
},
|
||||
{
|
||||
name: 'Unpin Chat Message',
|
||||
value: 'unpinChatMessage',
|
||||
description: 'Unpin a chat message',
|
||||
action: 'Unpin a chat message',
|
||||
},
|
||||
],
|
||||
default: 'sendMessage',
|
||||
@@ -941,42 +964,52 @@ export class Telegram implements INodeType {
|
||||
{
|
||||
name: 'Find Location',
|
||||
value: 'find_location',
|
||||
action: 'Find location',
|
||||
},
|
||||
{
|
||||
name: 'Record Audio',
|
||||
value: 'record_audio',
|
||||
action: 'Record audio',
|
||||
},
|
||||
{
|
||||
name: 'Record Video',
|
||||
value: 'record_video',
|
||||
action: 'Record video',
|
||||
},
|
||||
{
|
||||
name: 'Record Video Note',
|
||||
value: 'record_video_note',
|
||||
action: 'Record video note',
|
||||
},
|
||||
{
|
||||
name: 'Typing',
|
||||
value: 'typing',
|
||||
action: 'Typing a message',
|
||||
},
|
||||
{
|
||||
name: 'Upload Audio',
|
||||
value: 'upload_audio',
|
||||
action: 'Upload audio',
|
||||
},
|
||||
{
|
||||
name: 'Upload Document',
|
||||
value: 'upload_document',
|
||||
action: 'Upload document',
|
||||
},
|
||||
{
|
||||
name: 'Upload Photo',
|
||||
value: 'upload_photo',
|
||||
action: 'Upload photo',
|
||||
},
|
||||
{
|
||||
name: 'Upload Video',
|
||||
value: 'upload_video',
|
||||
action: 'Upload video',
|
||||
},
|
||||
{
|
||||
name: 'Upload Video Note',
|
||||
value: 'upload_video_note',
|
||||
action: 'Upload video note',
|
||||
},
|
||||
],
|
||||
default: 'typing',
|
||||
|
||||
Reference in New Issue
Block a user