GroupChannelScheduledMessage extension
GroupChannelScheduledMessage
- on
Methods
-
cancelScheduledMessage(
{required int scheduledMessageId}) → Future< void> - Cancels a scheduled message with scheduledMessageId.
-
createScheduledFileMessage(
ScheduledFileMessageCreateParams params) → Future< FileMessage> - Creates a file message to be sent at the specified time.
-
createScheduledUserMessage(
ScheduledUserMessageCreateParams params) → Future< UserMessage> - Creates a user message to be sent at the specified time.
-
sendScheduledMessageNow(
{required int scheduledMessageId}) → Future< void> - Sends a scheduled message now.
-
updateScheduledFileMessage(
{required ScheduledFileMessageUpdateParams params, required int scheduledMessageId}) → Future< FileMessage> - Update a scheduled file message with scheduledMessageId and ScheduledFileMessageUpdateParams.
-
updateScheduledUserMessage(
{required ScheduledUserMessageUpdateParams params, required int scheduledMessageId}) → Future< UserMessage> - Update a scheduled user message with scheduledMessageId and ScheduledUserMessageUpdateParams.