Use the cancelScheduledMessage()
method to cancel a message that a user has scheduled to send at a later time.
// Cancels a scheduled message. groupChannel.cancelScheduledMessage(scheduledMessageId) { e -> if (e != null) { // Handle error. } // A scheduled message has been successfully canceled. }