'How to stack multiple blocks (more like messages) in slack

I basically want to stack more than 1 slack message and give user an option to view these messages one by one using next and previous button.

Also, each message can contain some action which we process at the back using its unique blockId.

Is there a way to render this in slack all at once without fetching each message??



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source