updateScheduledFileMessage method
- {required ScheduledFileMessageUpdateParams params,
- required int scheduledMessageId}
Update a scheduled file message with scheduledMessageId and ScheduledFileMessageUpdateParams.
Implementation
Future<FileMessage> updateScheduledFileMessage({
required ScheduledFileMessageUpdateParams params,
required int scheduledMessageId,
}) async {
sbLog.i(StackTrace.current, 'scheduledMessageId: $scheduledMessageId');
return await chat.apiClient.send(
GroupChannelScheduledFileMessageUpdateRequest(
chat,
scheduledMessageId: scheduledMessageId,
channelUrl: channelUrl,
params: params,
),
);
}