In docs https://developer.rocket.chat/reference/api/rest-api/endpoints/core-endpoints/chat-endpoints/sendmessage possibility to use UIKit "blocks" section is not described, but it works.
And as it works, I have a question - how can I send DM by chat.sendMessage API with blocks section?
I know I can use chat.postMessage but "blocks" doesn't work there, so I wonder if I'm able to use chat.sendMessage or is it possible to send "blocks" through chat.postMessage.
In docs https://developer.rocket.chat/reference/api/rest-api/endpoints/core-endpoints/chat-endpoints/sendmessage possibility to use UIKit "blocks" section is not described, but it works. And as it works, I have a question - how can I send DM by
chat.sendMessage
API with blocks section? I know I can usechat.postMessage
but "blocks" doesn't work there, so I wonder if I'm able to usechat.sendMessage
or is it possible to send "blocks" throughchat.postMessage
.