createRoomWidget

abstract suspend fun createRoomWidget(    roomId: String,     widgetId: String,     content: Content): Widget

Creates and send a new widget in a room. It makes sure you have the rights to handle this.

Parameters

roomId

the room where you want to create the widget.

widgetId

the widget to create.

content

the content of the widget