getMessageChangeLogs method

Future<MessageChangeLogsResponse> getMessageChangeLogs({
  1. int? timestamp,
  2. String? token,
  3. required MessageChangeLogParams params,
})

Retreieve massage change logs with timestamp or token and params.

Implementation

Future<MessageChangeLogsResponse> getMessageChangeLogs({
  int? timestamp,
  String? token,
  required MessageChangeLogParams params,
}) async {
  return _sdk.api.send(
    ChannelMessageChangeLogGetRequest(
      channelType: channelType,
      channelUrl: channelUrl,
      params: params,
      token: token,
      timestamp: timestamp ?? ExtendedInteger.max,
    ),
  );
}