mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
Add chat.getPermalink interface in Slack Nodes.
This commit is contained in:
@@ -30,6 +30,11 @@ export const messageOperations = [
|
||||
value: 'update',
|
||||
description: 'Updates a message.',
|
||||
},
|
||||
{
|
||||
name: 'GetPermalink',
|
||||
value: 'getPermalink',
|
||||
description: 'Get Permanent Link of a message',
|
||||
},
|
||||
],
|
||||
default: 'post',
|
||||
description: 'The operation to perform.',
|
||||
@@ -1631,4 +1636,47 @@ export const messageFields = [
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* message:getPermaLink
|
||||
/* ----------------------------------------------------------------------- */
|
||||
{
|
||||
displayName: 'Channel',
|
||||
name: 'channelId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getChannels',
|
||||
},
|
||||
required: true,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'message',
|
||||
],
|
||||
operation: [
|
||||
'getPermalink',
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Channel containing the message to be updated.',
|
||||
},
|
||||
{
|
||||
displayName: 'TS',
|
||||
name: 'messageTs',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'message',
|
||||
],
|
||||
operation: [
|
||||
'getPermalink',
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Timestamp of the message to get permanent link.`,
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
Reference in New Issue
Block a user