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:
limit
Maximum number of objects. Defaults to7
.apiVersion
Defaults tov1
.token
oCSAPIRequest
Required to be true for the API request to pass. Defaults totrue
.
Status codes:
- 200: List of shared objects messages of each type returned
See:
- getObjectsSharedInRoomOverviewRaw for an experimental operation that returns a DynamiteRawResponse that can be serialized.
Implementation
Future<DynamiteResponse<ChatGetObjectsSharedInRoomOverviewResponseApplicationJson, void>>
getObjectsSharedInRoomOverview({
required String token,
int? limit,
ChatGetObjectsSharedInRoomOverviewApiVersion? apiVersion,
bool? oCSAPIRequest,
}) async {
final rawResponse = getObjectsSharedInRoomOverviewRaw(
token: token,
limit: limit,
apiVersion: apiVersion,
oCSAPIRequest: oCSAPIRequest,
);
return rawResponse.future;
}