🐛 Fixes issue #651 and #652 (#668)

* 🐛 Fixes issue #651 and #652

*  Added description to username field
This commit is contained in:
Ricardo Espinoza
2020-06-20 12:11:11 -04:00
committed by GitHub
parent 3d45b67d50
commit 54a670c0de
3 changed files with 5 additions and 28 deletions

View File

@@ -111,7 +111,7 @@ export const messageFields = [
],
},
},
description: 'Set the bot\'s user name.',
description: 'Set the bot\'s user name. This field will be ignored if you are using a user token.',
},
{
displayName: 'JSON parameters',
@@ -486,26 +486,6 @@ export const messageFields = [
},
description: `Timestamp of the message to be updated.`,
},
{
displayName: 'As User',
name: 'as_user',
type: 'boolean',
default: false,
displayOptions: {
show: {
authentication: [
'accessToken',
],
operation: [
'update'
],
resource: [
'message',
],
},
},
description: 'Pass true to update the message as the authed user. Bot users in this context are considered authed users.',
},
{
displayName: 'Update Fields',
name: 'updateFields',