[AB-296] adding templates for interaction based exceptions

adding button to message embed for deletion
adding exception for remove embedded message exception
This commit is contained in:
Sheldan
2021-07-03 10:42:07 +02:00
parent ea36bb5015
commit ee2d1658be
5 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1 @@
<#include "link_embed_removal_not_allowed_exception_text">

View File

@@ -41,5 +41,17 @@
}
</#if>
],
<#if useButton>
"buttons": [
{
"label": "<@safe_include "message_embed_button_delete"/>",
"id": "${buttonConfigModel.buttonId}",
"buttonStyle": "danger",
"metaConfig": {
"persistCallback": false
}
}
],
</#if>
"timeStamp": "${embeddedMessage.timeCreated}"
}