setRoomExtraInfo abstract method

Future<int?> setRoomExtraInfo({
  1. required String key,
  2. required String value,
})

Valid since v3.56.1

Sets/updates extra information about the room the local user joins.

key: Key of the extra information, less than 10 bytes in length.
A maximum of 5 keys can exist in the same room, beyond which the first key will be replaced.

value: Content of the extra information, less than 128 bytes in length.

Return value:

Notes:

Implementation

Future<int?> setRoomExtraInfo({
  required String key,
  required String value,
});