UpdateChannelInformationRequest constructor

UpdateChannelInformationRequest({
  1. Int64? guildId,
  2. Int64? channelId,
  3. String? newName,
  4. Metadata? newMetadata,
})

Implementation

factory UpdateChannelInformationRequest({
  $fixnum.Int64? guildId,
  $fixnum.Int64? channelId,
  $core.String? newName,
  $0.Metadata? newMetadata,
}) {
  final _result = create();
  if (guildId != null) {
    _result.guildId = guildId;
  }
  if (channelId != null) {
    _result.channelId = channelId;
  }
  if (newName != null) {
    _result.newName = newName;
  }
  if (newMetadata != null) {
    _result.newMetadata = newMetadata;
  }
  return _result;
}