Should allow to send message without payload.text
See original GitHub issueThis is a valid usage to send with only attachments and no text.
Line 13 of slack.js should be
if (!message.text && !Array.isArray(message.attachments)) {
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
mqtt: Sending messages without payload should trigger error
According to my testing messages without payload are not received by the broker (or not forwarded) and should therefore not be allowed?
Read more >Sending messages using Incoming Webhooks - Slack API
Incoming Webhooks are a simple way to post messages from apps into Slack. Creating an Incoming Webhook gives you a unique URL to...
Read more >SendMessage - Amazon Simple Queue Service
Delivers a message to the specified queue. Important. A message can include only XML, JSON, and unformatted text ...
Read more >HTTP Messages - MDN Web Docs - Mozilla
The start-line and HTTP headers of the HTTP message are collectively known as the head of the requests, whereas its payload is known...
Read more >Messaging - Messenger Platform - Meta for Developers
Your app can send unstructured or structured messages. An unstructured message can include text, audio, images, video, and files. A structure message will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently you can bypass that check by providing text as
#31