GroupChannelScheduledFileMessageUpdateRequest constructor

GroupChannelScheduledFileMessageUpdateRequest({
  1. required String channelUrl,
  2. required int scheduledMessageId,
  3. required ScheduledFileMessageUpdateParams params,
})

Implementation

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

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