Admin API / Types
DeleteChatMessageOutcome
UnionDeleteChatMessageItemSuccess: the message is deleted. ChatMessageNotFoundError: the caller sees no channel or livestream message with this ID, for example a direct message. UnauthorizedError: the caller cannot delete the message (see ChatMessageViewerState.canDelete); requiredRole is the lowest role that can, or null for an OWNER author or a USER message of the livestream host.
union DeleteChatMessageOutcome = ChatMessageNotFoundError | DeleteChatMessageItemSuccess | UnauthorizedError