create Favorite
abstract fun createFavorite(peerId: String?, type: PeerType?, listener: RainbowListener<IRainbowFavorite, CreateFavoriteError>? = null)
Creates a favorite at the end of the list.
Parameters
peer Id
String peerId to associated with the favorite. Can be a contactId or a roomId.
type
PeerType Type of the favorite, can be "user", "bot" or "room"
listener
RainbowListener