delete (method)
Deletes a message.
Syntax
- (void)delete:(NSString*)messageId;
public func delete_(_ messageId: String) throws -> Void
Remarks
This method deletes a message. Deleted messages will be moved to the Trash folder. messageId takes the message ID of the message to be deleted.