GroupChannelScheduledUserMessageUpdateRequest constructor Null safety

GroupChannelScheduledUserMessageUpdateRequest(
  1. {required String channelUrl,
  2. required int scheduledMessageId,
  3. required ScheduledUserMessageUpdateParams params}
)

Implementation

GroupChannelScheduledUserMessageUpdateRequest({
  required String channelUrl,
  required int scheduledMessageId,
  required ScheduledUserMessageUpdateParams params,
}) {
  url = 'group_channels/$channelUrl/scheduled_messages/$scheduledMessageId';

  body.addAll(params.toJson());
}