updateScheduledUserMessage method
- {required ScheduledUserMessageUpdateParams params,
- required int scheduledMessageId}
Update a scheduled user message with scheduledMessageId and ScheduledUserMessageUpdateParams.
Implementation
Future<UserMessage> updateScheduledUserMessage({
required ScheduledUserMessageUpdateParams params,
required int scheduledMessageId,
}) async {
sbLog.i(StackTrace.current, 'scheduledMessageId: $scheduledMessageId');
return await chat.apiClient.send(
GroupChannelScheduledUserMessageUpdateRequest(
chat,
scheduledMessageId: scheduledMessageId,
channelUrl: channelUrl,
params: params,
),
);
}