You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A common example of how we use this library is replacing a block on an existing message. To do this, i have to construct a whole new message rather than construct the block alone. The case this happens is when we send a large message with a button, when we respond we want to replace the actions section alone. But to do that I don't want to construct a message
Describe the solution you'd like
Currently
const blocksToAppend = Message().blocks(Blocks.Section().text('The button was clicked')).buildToObject().blocks?.[0]
Proposed
const blocksToAppend = Blocks.Section().text('The button was clicked').buildToObject()
Describe alternatives you've considered
Use the message method mentioned above
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A common example of how we use this library is replacing a block on an existing message. To do this, i have to construct a whole new message rather than construct the block alone. The case this happens is when we send a large message with a button, when we respond we want to replace the actions section alone. But to do that I don't want to construct a message
Describe the solution you'd like
Currently
Proposed
Describe alternatives you've considered
Use the message method mentioned above
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: