There's a bug related to bots and webhooks: If a message is pinned inside a bot chat, or a bot is called (@) in a channel, these specific types of messages will be pushed on repeat to the webhook every minute or so.
To recreate this error: create a bot, add it to a channel, connect it to a webhook and AWS lambda using API gateway, then @ the bot in a channel (or pin a message inside the bot) and you’ll notice the lambda is triggered constantly even though the bot isn’t used.
1. Create a webhook for a bot
2. Connect the bot and webhook to an AWS lambda
3. Pin a message inside a bot, or @ a bot inside a channel
4. The message will be sent on repeat to the webhook even if the message is old
Device info
This is not OS specific, rather a bug in your backend