getPollsForRoom

abstract suspend fun getPollsForRoom(room: IRainbowRoom): RainbowResult<List<Poll>>

Get all the polls for a given room.

This API any member of the room to allow to get a list of all the polls associated to a given room. This list contains all the polls that the user can access (all for organizers, only published ones for users). *

Return

A RainbowResult containing a list of Poll on success. In case of failure, the RainbowResult will contain error details.

Parameters

room

IRainbowRoom the bubble