deleteInRoom method

  1. @override
Future<ChatResult<void>> deleteInRoom(
  1. String roomId,
  2. String messageId
)
override

Deletes an attachment message from a room.

Same semantics as ChatMessagesApi.delete — sender or admin only, tombstones the message, emits MessageDeletedEvent. The underlying attachment bytes on the storage backend are reclaimed asynchronously by a background job, not synchronously by this call.

Implementation

@override
Future<ChatResult<void>> deleteInRoom(
  String roomId,
  String messageId,
) async => const ChatSuccess(null);