deleteItem

abstract suspend fun deleteItem(channelId: String, itemId: String): RainbowResult<Unit>

Delete an item (post) from a specific channel.

This method allows you to delete a specific item (post) from the provided channel. Once deleted, the item is permanently removed and cannot be retrieved.

Return

A RainbowResult indicating the success or failure of the operation. If successful, it returns Unit. In case of failure, it contains error details.

Parameters

channelId

The String representing the ID of the channel where the item is located.

itemId

The String representing the ID of the item (post) to delete.