getObjectsSharedInRoomOverview method
Future<DynamiteResponse<ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, void> >
getObjectsSharedInRoomOverview({
Get objects that are shared in the room overview.
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers.
Throws a DynamiteApiException if the API call does not return an expected status code.
Parameters:
apiVersionDefaults to"v1".tokenlimitMaximum number of objects. Defaults to7.oCSAPIRequestRequired to be true for the API request to pass. Defaults totrue.
Status codes:
- 200: List of shared objects messages of each type returned
See:
- $getObjectsSharedInRoomOverview_Request for the request send by this method.
- $getObjectsSharedInRoomOverview_Serializer for a converter to parse the
Responsefrom an executed request.
Implementation
Future<_i1.DynamiteResponse<ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, void>>
getObjectsSharedInRoomOverview({
required String token,
ChatGetObjectsSharedInRoomOverviewApiVersion? apiVersion,
int? limit,
bool? oCSAPIRequest,
}) async {
final _request = $getObjectsSharedInRoomOverview_Request(
token: token,
apiVersion: apiVersion,
limit: limit,
oCSAPIRequest: oCSAPIRequest,
);
final _streamedResponse = await _rootClient.httpClient.send(_request);
final _response = await _i3.Response.fromStream(_streamedResponse);
final _serializer = $getObjectsSharedInRoomOverview_Serializer();
return _i1.ResponseConverter<ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, void>(_serializer)
.convert(_response);
}