sendScheduledMessageNow method
- {required int scheduledMessageId}
Sends a scheduled message now.
Implementation
Future<void> sendScheduledMessageNow({
required int scheduledMessageId,
}) async {
sbLog.i(StackTrace.current, 'scheduledMessageId: $scheduledMessageId');
return await chat.apiClient.send(
GroupChannelScheduledMessageSendNowRequest(
chat,
channelType: channelType,
channelUrl: channelUrl,
scheduledMessageId: scheduledMessageId,
),
);
}