Hello ,
I am using the new methods
await modify.getUiController().openSurfaceView(modal, { triggerId: triggerId }, context.getSender());
since getblockbuilder() and also openModalView() are deprecated.
The code is working fine but the modal is not being displayed
Earlier we used to make a block object like
const block = modify.getCreator().getBlockBuilder();
and then keep on adding the block components accordingly now it is no longer valid.
Has anyone been able to use the new uikit and @rocket.chat/ui-kit component ?
and also the new alternative of const block = modify.getCreator().getBlockBuilder();