GroupChannelChangeLogsGetRequest constructor
GroupChannelChangeLogsGetRequest(
- GroupChannelChangeLogsParams params, {
- String? token,
- int? timestamp,
- String? userId,
Implementation
GroupChannelChangeLogsGetRequest(GroupChannelChangeLogsParams params,
{String? token, int? timestamp, String? userId})
: super() {
url = 'users/${userId ?? state.userId}/my_group_channels/changelogs';
queryParams = params.toJson();
if (timestamp != null && timestamp > 0) {
queryParams['change_ts'] = timestamp;
} else if (token != null) {
queryParams['token'] = token;
}
}