ListChannelMessagesRequest constructor

ListChannelMessagesRequest({
  1. String? channelId,
  2. Int32Value? limit,
  3. BoolValue? forward,
  4. String? cursor,
})

Implementation

factory ListChannelMessagesRequest({
  $core.String? channelId,
  $1.Int32Value? limit,
  $1.BoolValue? forward,
  $core.String? cursor,
}) {
  final _result = create();
  if (channelId != null) {
    _result.channelId = channelId;
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (forward != null) {
    _result.forward = forward;
  }
  if (cursor != null) {
    _result.cursor = cursor;
  }
  return _result;
}