For my fix, I need to add the field "blocks" to the field "attachment" according to this Slack doc. For some reason, Slack API does not process requests as expected if an attachment has the field "blocks" and other fields. In order to solve this problem, a custom serializer has been added.
For my fix, I need to add the field "blocks" to the field "attachment" according to this Slack doc. For some reason, Slack API does not process requests as expected if an attachment has the field "blocks" and other fields. In order to solve this problem, a custom serializer has been added.