[Python] Mentioning users via slack in webhooks

Discussão em 'Python' iniciado por Stack, Março 17, 2025.

  1. Stack

    Stack Membro Participativo

    I'm building somewhat integration github with slack, which will notify users (reviewers of pull request) and send them link in #general chat.

    And I'm struggling with mentioning users, right now I found only one way to mention them: via username in Slack, however to know this username, I must ask person to give it to me. Mentioning via <@display_name> doesn't seem to work, even with link_names: 1 parameter.

    EDIT: I have implemented solution as binding app in Slack, so user authorizes app in Slack and my application gets the binding internal slack id to ping users. Here is the github repo: https://github.com/Tehtehteh/ghook_v2

    Continue reading...

Compartilhe esta Página