Skip to content

How to find a Slack user ID

  1. Click on a user name within Slack.
  2. Click on “View profile” in the menu that appears.
  3. Click the more icon ”…”
  4. Click on “Copy Member ID.”

document.querySelectorAll(‘.portal-attachment-thumbnail-img’).forEach(function(img) { img.addEventListener(‘error’, function () { attachment_error_image(this); }); }); const attachment_error_image = (attachment) => { const parentElement = attachment.parentElement; const defaultIcon = <span class="icon-file-empty"></span><span class="fw-attachment-ext">${escapeHtml(attachment.dataset.extension)}</span>; parentElement.innerHTML = defaultIcon; };